PERFORCE change 91240 for review

Robert Watson rwatson at FreeBSD.org
Mon Feb 6 16:26:15 GMT 2006


http://perforce.freebsd.org/chv.cgi?CH=91240

Change 91240 by rwatson at rwatson_zoo on 2006/02/06 16:25:59

	Also send user process generated records to audit pipes.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#9 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#9 (text+ko) ====

@@ -372,6 +372,14 @@
 	 * we ignore errors.
 	 */
 	if (ar->k_ar_commit & AR_COMMIT_USER) {
+		/*
+		 * Try submitting the record to any active audit pipes.
+		 */
+		audit_pipe_submit((void *)ar->k_udata, ar->k_ulen);
+
+		/*
+		 * And to disk.
+		 */
 		ret = vn_rdwr(UIO_WRITE, vp, (void *)ar->k_udata, ar->k_ulen,
 		          (off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, cred, NULL,
 			  NULL, td); 
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list