From owner-cvs-all Thu May 2 8:13:50 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F2E937B404; Thu, 2 May 2002 08:13:46 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g42FDk147844; Thu, 2 May 2002 08:13:46 -0700 (PDT) (envelope-from jhb) Message-Id: <200205021513.g42FDk147844@freefall.freebsd.org> From: John Baldwin Date: Thu, 2 May 2002 08:13:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_fork.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/05/02 08:13:46 PDT Modified files: sys/kern kern_fork.c Log: - Protect randompid and nprocs with the allproc_lock. - Reorder fork1() to do malloc() and other blocking operations prior to acquiring the needed process locks. - The new process inherit's the credentials of curthread, not the credentials of the old process. - Document a really weird race that will come up with KSE allows multiple kernel threads per process. Revision Changes Path 1.148 +122 -101 src/sys/kern/kern_fork.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message