DragonFly commits List (threaded) for 2006-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_fork.c
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@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]