PERFORCE change 84250 for review

Robert Watson rwatson at FreeBSD.org
Sun Sep 25 18:58:01 GMT 2005


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

Change 84250 by rwatson at rwatson_zoo on 2005/09/25 18:57:49

	Re-enable audit of child process pid from fork(), the memory
	corruption bug appears to be in the handling of paths.

Affected files ...

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

Differences ...

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

@@ -400,9 +400,7 @@
 	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