From owner-cvs-all@FreeBSD.ORG Fri Mar 5 14:37:32 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95A1516A4CF; Fri, 5 Mar 2004 14:37:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79F3D43D46; Fri, 5 Mar 2004 14:37:32 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i25MbWGe014672; Fri, 5 Mar 2004 14:37:32 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i25MbW1r014671; Fri, 5 Mar 2004 14:37:32 -0800 (PST) (envelope-from jhb) Message-Id: <200403052237.i25MbW1r014671@repoman.freebsd.org> From: John Baldwin Date: Fri, 5 Mar 2004 14:37:32 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_fork.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 22:37:32 -0000 jhb 2004/03/05 14:37:32 PST FreeBSD src repository Modified files: sys/kern kern_fork.c Log: - Grab a share lock of the proctree lock while looking for a pid due to the process group and session dereferences. Also, check that p_pgrp and p_sesssion are NULL before dereferencing them. - Push down Giant in fork1(). Requested by: peter Revision Changes Path 1.217 +25 -13 src/sys/kern/kern_fork.c