Date: Mon, 6 Feb 2006 16:26:15 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91240 for review Message-ID: <200602061626.k16GQFFn059630@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91240 Change 91240 by rwatson@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602061626.k16GQFFn059630>