PERFORCE change 84056 for review

Robert Watson rwatson at FreeBSD.org
Wed Sep 21 13:36:24 GMT 2005


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

Change 84056 by rwatson at rwatson_zoo on 2005/09/21 13:35:59

	Temporarily disable auditing of the new pid in fork: this appears to
	result in reproduceable memory corruption, and requires fixing.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/kern/kern_fork.c#7 edit

Differences ...

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

@@ -400,7 +400,9 @@
 	p2 = newproc;
 	p2->p_state = PRS_NEW;		/* protect against others */
 	p2->p_pid = trypid;
+#if 0
 	AUDIT_ARG(pid, p2->p_pid);
+#endif
 	LIST_INSERT_HEAD(&allproc, p2, p_list);
 	LIST_INSERT_HEAD(PIDHASH(p2->p_pid), p2, p_hash);
 	sx_xunlock(&allproc_lock);
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