The
pam_close_session function tears down the user session previously set up by
pam_open_session(3).
The
flags argument is the binary or of zero or more of the following values:
PAM_SILENT
Do not emit any messages.
If any other bits are set,
pam_close_session will return
PAM_SYMBOL_ERR.