PERFORCE change 147570 for review

Vincenzo Iozzo snagg at FreeBSD.org
Sat Aug 16 17:33:36 UTC 2008


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

Change 147570 by snagg at snagg_macosx on 2008/08/16 17:32:42

	Added pid in audit_proc_coredump() needed by audit_pipe_preselect()

Affected files ...

.. //depot/projects/soc2008/snagg-audit/sys/security/audit/audit.c#6 edit

Differences ...

==== //depot/projects/soc2008/snagg-audit/sys/security/audit/audit.c#6 (text) ====

@@ -611,7 +611,8 @@
 		sorf = AU_PRS_SUCCESS;
 	class = au_event_class(AUE_CORE);
 	if (au_preselect(AUE_CORE, class, aumask, sorf) == 0 &&
-	    audit_pipe_preselect(auid, AUE_CORE, class, sorf, 0) == 0)
+	    audit_pipe_preselect(auid, AUE_CORE, class, sorf, 0, 
+		td->td_proc->p_pid) == 0)
 		return;
 	/*
 	 * If we are interested in seeing this audit record, allocate it.


More information about the p4-projects mailing list