Date: Thu, 2 May 2002 08:13:46 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_fork.c Message-ID: <200205021513.g42FDk147844@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205021513.g42FDk147844>
