From 21a7ea24a49f6c46a63c7706909400b8bb879f43 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 29 Oct 2007 18:07:48 +0000 Subject: 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 --- sys/security/audit/audit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/security/audit/audit.c') 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; -- cgit v1.1