diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-29 18:07:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-29 18:07:48 +0000 |
commit | 21a7ea24a49f6c46a63c7706909400b8bb879f43 (patch) | |
tree | a6b41c0bccfa1163a76f2f24f99978a64e210754 /sys/security/audit/audit.c | |
parent | d0482ebdaeb027bff247f380cc73bc14679dc3c3 (diff) | |
download | FreeBSD-src-21a7ea24a49f6c46a63c7706909400b8bb879f43.zip FreeBSD-src-21a7ea24a49f6c46a63c7706909400b8bb879f43.tar.gz |
Replace use of AU_NULL with 0 when no audit classes are in use; this
supports the removal of hard-coded audit class constants in OpenBSM
1.0. All audit classes are now dynamically configured via the
audit_class database.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r-- | sys/security/audit/audit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index 1b4ac87..1f771e9 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -229,8 +229,8 @@ audit_init(void) audit_fstat.af_filesz = 0; /* '0' means unset, unbounded. */ audit_fstat.af_currsz = 0; - audit_nae_mask.am_success = AU_NULL; - audit_nae_mask.am_failure = AU_NULL; + audit_nae_mask.am_success = 0; + audit_nae_mask.am_failure = 0; TAILQ_INIT(&audit_q); audit_q_len = 0; |