From: nekral-guest Date: Thu, 4 Sep 2008 19:36:27 +0000 (+0000) Subject: * lib/prototypes.h, libmisc/audit_help.c: Define new type X-Git-Tag: 4.1.3~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e0008a2d7d7fdd786d792fc4922fc946c611673;p=shadow * 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(). --- 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