Date: Mon, 17 Oct 2005 18:50:00 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 85457 for review Message-ID: <200510171850.j9HIo0Oq095864@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=85457 Change 85457 by rwatson@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510171850.j9HIo0Oq095864>