diff options
author | Stef Walter <stefw@gnome.org> | 2014-03-13 20:25:17 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2014-03-14 11:29:26 +0100 |
commit | d1c549afe6319fe8e4b1c00a253a85b31441d6dd (patch) | |
tree | 00457d84a9f3f4504f359071fdbf98937d7e10d9 | |
parent | 61cc045d145e2211a5d4993b9f1f29f548a0177e (diff) |
pam: Export a pam_sm_close_session() function entry point
Some PAM callers want this even though we don't do anything
interesting in here.
https://bugzilla.gnome.org/show_bug.cgi?id=726245
-rw-r--r-- | pam/gkr-pam-module.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pam/gkr-pam-module.c b/pam/gkr-pam-module.c index 572c516a..cd39510f 100644 --- a/pam/gkr-pam-module.c +++ b/pam/gkr-pam-module.c @@ -978,6 +978,13 @@ pam_chauthtok_update (pam_handle_t *ph, struct passwd *pwd, uint args) } PAM_EXTERN int +pam_sm_close_session (pam_handle_t *ph, int flags, int argc, const char **argv) +{ + /* Nothing to do, but we have to have this function exported */ + return PAM_SUCCESS; +} + +PAM_EXTERN int pam_sm_chauthtok (pam_handle_t *ph, int flags, int argc, const char **argv) { const char *user; |