From 7050b307e9e712471d987e0c5f8dd1cb2260511c Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Tue, 14 Jan 2003 05:43:07 +0000 Subject: 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. --- modules/pammodutil/include/security/_pam_modutil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/pammodutil/include') 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 + * Copyright (c) 2001-2002 Andrew Morgan */ #include @@ -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 */ -- cgit v1.2.3