Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2005 18:58:01 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 84250 for review
Message-ID:  <200509251858.j8PIw1qt010673@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=84250

Change 84250 by rwatson@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509251858.j8PIw1qt010673>