From owner-p4-projects@FreeBSD.ORG Wed Sep 21 13:36:25 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D027316A421; Wed, 21 Sep 2005 13:36:24 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B8FD16A41F for ; Wed, 21 Sep 2005 13:36:24 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 570F743D45 for ; Wed, 21 Sep 2005 13:36:24 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8LDaOMs082578 for ; Wed, 21 Sep 2005 13:36:24 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8LDaOVY082575 for perforce@freebsd.org; Wed, 21 Sep 2005 13:36:24 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 21 Sep 2005 13:36:24 GMT Message-Id: <200509211336.j8LDaOVY082575@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 84056 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 13:36:25 -0000 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);