PAM_SM_CLOSE_SESSION(3) | Linux-PAM Manual | PAM_SM_CLOSE_SESSION(3) |
pam_sm_close_session - PAM service function to terminate session management
#include <security/pam_modules.h>
int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv);
The pam_sm_close_session function is the service module's implementation of the pam_close_session(3) interface.
This function is called to terminate a session. The only valid value for flags is zero or:
PAM_SILENT
PAM_SESSION_ERR
PAM_SUCCESS
pam(3), pam_close_session(3), pam_sm_close_session(3), pam_strerror(3), PAM(8)
09/03/2021 | Linux-PAM Manual |