diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2003-01-14 05:43:07 +0000 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2003-01-14 05:43:07 +0000 |
commit | 7050b307e9e712471d987e0c5f8dd1cb2260511c (patch) | |
tree | 5bf06d87cc804cb3255e12d0cb1b47064a2d1755 /modules/pammodutil/include/security/_pam_modutil.h | |
parent | 2b71955aec63541e4b071c12eae9fba76e7085fa (diff) | |
download | pam-7050b307e9e712471d987e0c5f8dd1cb2260511c.tar.gz pam-7050b307e9e712471d987e0c5f8dd1cb2260511c.tar.bz2 pam-7050b307e9e712471d987e0c5f8dd1cb2260511c.zip |
Relevant BUGIDs: 667584 664290
Purpose of commit: bugfix
Commit summary:
---------------
Two bug fixes in one: don't trust getlogin() and sanely lower the
time the password databases are locked in pam_unix.
Diffstat (limited to 'modules/pammodutil/include/security/_pam_modutil.h')
-rw-r--r-- | modules/pammodutil/include/security/_pam_modutil.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/pammodutil/include/security/_pam_modutil.h b/modules/pammodutil/include/security/_pam_modutil.h index af8a7ae1..5e063651 100644 --- a/modules/pammodutil/include/security/_pam_modutil.h +++ b/modules/pammodutil/include/security/_pam_modutil.h @@ -15,7 +15,7 @@ * On systems that simply can't support thread safe programming, these * functions don't support it either - sorry. * - * Copyright (c) 2001 Andrew Morgan <morgan@kernel.org> + * Copyright (c) 2001-2002 Andrew Morgan <morgan@kernel.org> */ #include <pwd.h> @@ -30,4 +30,6 @@ extern struct passwd *_pammodutil_getpwuid(pam_handle_t *pamh, extern void _pammodutil_cleanup(pam_handle_t *pamh, void *data, int error_status); +extern const char *_pammodutil_getlogin(pam_handle_t *pamh); + #endif /* _PAM_MODUTIL_H */ |