]> granicus.if.org Git - shadow/commit
* 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)
commit7e0008a2d7d7fdd786d792fc4922fc946c611673
treef080e8328cefae71f6de40ad8ef9d382ab924caa
parenta21809cdae14a4b312e7956de1c31aa02e0ddf71
* 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