PERFORCE change 141473 for review
Diego Giagio
diego at FreeBSD.org
Sun May 11 18:13:10 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=141473
Change 141473 by diego at 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)) {
More information about the p4-projects
mailing list