PERFORCE change 85457 for review

Robert Watson rwatson at FreeBSD.org
Mon Oct 17 11:50:04 PDT 2005


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

Change 85457 by rwatson at rwatson_peppercorn on 2005/10/17 18:49:11

	In kern_ptrace(), audit information on the target process once it
	has been identified, but before we perform access control checks.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/kern/sys_process.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/kern/sys_process.c#5 (text+ko) ====

@@ -49,6 +49,8 @@
 
 #include <machine/reg.h>
 
+#include <security/audit/audit.h>
+
 #include <vm/vm.h>
 #include <vm/pmap.h>
 #include <vm/vm_extern.h>
@@ -552,6 +554,7 @@
 			pid = p->p_pid;
 		}
 	}
+	AUDIT_ARG(process, p);
 	if ((error = p_cansee(td, p)) != 0)
 		goto fail;
 


More information about the p4-projects mailing list