]> granicus.if.org Git - shadow/commitdiff
* lib/prototypes.h, libmisc/audit_help.c: Define new type
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 4 Sep 2008 19:36:27 +0000 (19:36 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 4 Sep 2008 19:36:27 +0000 (19:36 +0000)
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

index c5d043627272eab7703ebd2a10028320e018ded7..ae128bce2c7d90320eba24a951f1bc5db4e7d940 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  <nicolas.francois@centraliens.net>
 
        * src/userdel.c: Log failures to remove the mailbox to syslog and