When zapping the thread list due to an execve(), make sure to
authorLinus Torvalds <torvalds@home.osdl.org>
Sun, 27 Jul 2003 02:19:28 +0000 (19:19 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 27 Jul 2003 02:19:28 +0000 (19:19 -0700)
commit3b3b14de6dcd9718578e19f9720065a61da5ea09
treee185555c7d0259a2bfa0c697b3f8fce610621288
parent176a9075536cf95d4ae70961364a324defda2b21
When zapping the thread list due to an execve(), make sure to
also detach the threads.

Otherwise we'll leave them around as zombies, waiting for them
to be picked up by their parent. Which might be the execve()
thread itself, causing a deadlock.
kernel/signal.c