Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 13:36:24 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 84056 for review
Message-ID:  <200509211336.j8LDaOVY082575@repoman.freebsd.org>

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

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



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