From 1c98a73d4e43a8550e4500e91d04658d56510316 Mon Sep 17 00:00:00 2001 From: Sergey Zhuravlev Date: Tue, 28 Jan 2014 12:30:47 +0600 Subject: [PATCH] Added function pam_sm_close_session() --- pam_privtmp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pam_privtmp.c b/pam_privtmp.c index 17f8cbf..c963d3f 100644 --- a/pam_privtmp.c +++ b/pam_privtmp.c @@ -80,3 +80,14 @@ int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **ar return PAM_SUCCESS; } + + +int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + (void)pamh; + (void)flags; + (void)argc; + (void)argv; + + return PAM_SUCCESS; +}