Date: Sun, 11 May 2008 18:13:09 GMT From: Diego Giagio <diego@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 141473 for review Message-ID: <200805111813.m4BID9Pm002890@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141473 Change 141473 by diego@diego_black on 2008/05/11 18:12:58 Fix comments. Affected files ... .. //depot/projects/soc2008/diego-audit/src/sys/security/audit/audit.c#3 edit Differences ... ==== //depot/projects/soc2008/diego-audit/src/sys/security/audit/audit.c#3 (text) ==== @@ -322,6 +322,9 @@ return (ar); } +/* + * Allocate a new record if preselection allows it. Otherwise, return NULL. + */ struct kaudit_record * audit_begin(int event, struct thread *td) { @@ -343,8 +346,7 @@ aumask = &td->td_ucred->cr_audit.ai_mask; /* - * Allocate an audit record, if preselection allows it, and store in - * the thread for later use. + * Allocate an audit record, if preselection allows it. */ class = au_event_class(event); if (au_preselect(event, class, aumask, AU_PRS_BOTH)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805111813.m4BID9Pm002890>