summaryrefslogtreecommitdiff
path: root/modules/pam_unix/support.h
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2000-12-20 05:15:05 +0000
committerSteve Langasek <vorlon@debian.org>2000-12-20 05:15:05 +0000
commit38da6ae394a4b2f18e210369562928dc0e404f54 (patch)
treed5ee266e4c99c2a950ec6ad7fabc016c140a66c0 /modules/pam_unix/support.h
parente23b51cda072fbd6fc65f5ff43d196eeea28cac5 (diff)
Relevant BUGIDs: 126431, 126423
Purpose of commit: new feature / bugfix Commit summary: --------------- This changes the format of pam_unix log messages, per bug 126423. The change is extensive (every call to _log_err() now has an additional argument) but straightforward. These changes to the logging code incidentally fix the problem reported in bug 126431.
Diffstat (limited to 'modules/pam_unix/support.h')
-rw-r--r--modules/pam_unix/support.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/pam_unix/support.h b/modules/pam_unix/support.h
index 419f5273..0b6b6e04 100644
--- a/modules/pam_unix/support.h
+++ b/modules/pam_unix/support.h
@@ -124,10 +124,11 @@ static const UNIX_Ctrls unix_args[UNIX_CTRLS_] =
}
extern char *PAM_getlogin(void);
-extern void _log_err(int err, const char *format,...);
+extern void _log_err(int err, pam_handle_t *pamh, const char *format,...);
extern int _make_remark(pam_handle_t * pamh, unsigned int ctrl
,int type, const char *text);
-extern int _set_ctrl(int flags, int *remember, int argc, const char **argv);
+extern int _set_ctrl(pam_handle_t * pamh, int flags, int *remember, int argc,
+ const char **argv);
extern int _unix_blankpasswd(unsigned int ctrl, const char *name);
extern int _unix_verify_password(pam_handle_t * pamh, const char *name
,const char *p, unsigned int ctrl);