[PATCH] execve TGID dethreading bug fix
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Mar 2002 08:46:44 +0000 (00:46 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 7 Mar 2002 08:46:44 +0000 (00:46 -0800)
commita55b91121e897472cf11c2caab49013eb013965e
tree8b3445589219c879a2457d380e6fb9548119b64f
parent8656699fa8ec57e222af910749978cfcfb1cd821
[PATCH] execve TGID dethreading bug fix

kill all subsidiary threads in a thread group when the main thread
exits.

Features:

 - It sends the subsidiary threads SIGKILL with SI_DETHREAD.

 - Subsidiary threads doing an execve() just leave the thread group (rather
   than forcing the master thread to do an execve() which would be more POSIX
   like).
fs/exec.c
include/asm-i386/siginfo.h