]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Grab a share lock of the proctree lock while looking for a pid due to the
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 5 Mar 2004 22:37:32 +0000 (22:37 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 5 Mar 2004 22:37:32 +0000 (22:37 +0000)
commit5ce2f67858bdb8343a6f4a5b43955dc5761c1d64
treea23d50484d3d0861e13aa0d82775f4ceb5153427
parent4eebf565272fc22fc5ad7eb4ecebafbbe6aa5ede
- 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
sys/kern/kern_fork.c