cvs commit: src/sys/kern kern_fork.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 13 18:02:46 PDT 2006


dillon      2006/04/13 17:59:05 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_fork.c 
  Log:
  If a process forks while being scanned, a non-zero p_lock will be inherited
  by the child process preventing it from being able to exit.  Make sure that
  p_lock is zero'd on fork.
  
  Reported-by: Stefan Krueger <skrueger at xxxxxxxxxxxxxxxx>
  Also-thanks-to: Peter Holms filesystem and load testing suite (stress2).
  
  Revision  Changes    Path
  1.45      +2 -0      src/sys/kern/kern_fork.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.44&r2=1.45&f=u





More information about the Commits mailing list