summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-19 14:53:17 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-19 14:53:17 +0000
commit7e3aff1dc199846d15b3c479bff793353b8cfe8f (patch)
tree34d6b55d9d4235f31e08a9864553465396f0a407 /sys/security/audit/audit.c
parentada9604fd24dc29bff6c92bc0943439bc14011f2 (diff)
downloadFreeBSD-src-7e3aff1dc199846d15b3c479bff793353b8cfe8f.zip
FreeBSD-src-7e3aff1dc199846d15b3c479bff793353b8cfe8f.tar.gz
Merge OpenBSM 1.1 changes to the FreeBSD 8.x kernel:
- Add and use mapping of fcntl(2) commands to new BSM constant space. - Adopt (int) rather than (long) arguments to a number of auditon(2) commands, as has happened in Solaris, and add compatibility code to handle the old comments. Note that BSM_PF_IEEE80211 is partially but not fully removed, as the userspace OpenBSM 1.1alpha5 code still depends on it. Once userspace is updated, I'll GCC the kernel constant. MFC after: 2 weeks Sponsored by: Apple, Inc. Obtained from: TrustedBSD Project Portions submitted by: sson
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r--sys/security/audit/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index b46c02c..da47d25 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -129,8 +129,8 @@ struct mtx audit_mtx;
* outstanding in the system.
*/
struct kaudit_queue audit_q;
-size_t audit_q_len;
-size_t audit_pre_q_len;
+int audit_q_len;
+int audit_pre_q_len;
/*
* Audit queue control settings (minimum free, low/high water marks, etc.)
OpenPOWER on IntegriCloud