PERFORCE change 91356 for review

Wayne Salamon wsalamon at FreeBSD.org
Wed Feb 8 02:06:45 GMT 2006


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

Change 91356 by wsalamon at gretsch on 2006/02/08 02:05:52

	Audit the arguments to ptrace(2).

Affected files ...

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

Differences ...

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

@@ -406,6 +406,11 @@
 	if (td->td_proc->p_sysent == &ia32_freebsd_sysvec)
 		wrap32 = 1;
 #endif
+	AUDIT_ARG(pid, uap->pid);
+	AUDIT_ARG(cmd, uap->req);
+	AUDIT_ARG(addr, uap->addr);
+	AUDIT_ARG(value, uap->data);
+
 	addr = &r;
 	switch (uap->req) {
 	case PT_GETREGS:
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list