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
This commit is contained in:
csjp 2008-01-18 19:50:34 +00:00
parent dab9549610
commit ad1f18f4a9

View File

@ -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: