Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 14:23:52 -0700 (PDT)
From:      "Andrew R. Reiter" <arr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10597 for review
Message-ID:  <200205012123.g41LNq584573@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10597

Change 10597 by arr@arr_shibby on 2002/05/01 14:23:01

	- Initialize audit records with AUDIT_EVR_FAILED so
	 	  that we only set the ah_evresult variable on failed 
	  events.  If we find that doing the opposite is
	  "better," then we'll do that.

Affected files ...

... //depot/projects/trustedbsd/audit/sys/kern/kern_audit.c#28 edit

Differences ...

==== //depot/projects/trustedbsd/audit/sys/kern/kern_audit.c#28 (text+ko) ====

@@ -93,6 +93,7 @@
 	h->ah_id = audit_id++;
 	h->ah_len = AUDIT_RECORD_SZ + evsz;
 	h->ah_type = type;
+	h->ah_evresult = AUDIT_EVR_SUCCESS;
 	nanotime(&h->ah_evtime);
 	return (rec);
 }

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205012123.g41LNq584573>