From 7e0008a2d7d7fdd786d792fc4922fc946c611673 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Thu, 4 Sep 2008 19:36:27 +0000 Subject: [PATCH] * lib/prototypes.h, libmisc/audit_help.c: Define new type shadow_audit_result for the result argument of audit_logger(). This permits stronger type checking and a better readability of the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants). * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c: Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead of 0 or 1 in audit_logger(). --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c5d04362..ae128bce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-09-03 Nicolas François + + * lib/prototypes.h, libmisc/audit_help.c: Define new type + shadow_audit_result for the result argument of audit_logger(). + This permits stronger type checking and a better readability of + the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants). + * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c: + Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead + of 0 or 1 in audit_logger(). + 2008-09-03 Nicolas François * src/userdel.c: Log failures to remove the mailbox to syslog and -- 2.40.0