summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2008-01-18 19:50:34 +0000
committercsjp <csjp@FreeBSD.org>2008-01-18 19:50:34 +0000
commitad1f18f4a9a890fe5a3f981ddba830f1cc1e2c2e (patch)
treef878e39d9d6246afa98a77f0bd2d25d6290dcc89 /sys/security
parentdab9549610a683cd067cdc81c28056b3054644d6 (diff)
downloadFreeBSD-src-ad1f18f4a9a890fe5a3f981ddba830f1cc1e2c2e.zip
FreeBSD-src-ad1f18f4a9a890fe5a3f981ddba830f1cc1e2c2e.tar.gz
Add a case for AUE_LISTEN. This removes the following console error message:
"BSM conversion requested for unknown event 43140" It should be noted that we need to audit the fd argument for this system call. Obtained from: TrustedBSD Project MFC after: 1 week
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_bsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index 6ccf66d..9a22221 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -429,6 +429,7 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau)
switch(ar->ar_event) {
case AUE_ACCEPT:
case AUE_BIND:
+ case AUE_LISTEN:
case AUE_CONNECT:
case AUE_RECV:
case AUE_RECVFROM:
OpenPOWER on IntegriCloud