1 Fix bad signaling between threads when ancestor dies.
2 Author: Zeuner, Axel <Axel.Zeuner@partner.commerzbank.com>
4 --- linux/kernel/exit.c.original Mon Aug 5 09:09:31 2002
5 +++ linux/kernel/exit.c Mon Aug 5 12:26:38 2002
7 if (p->p_opptr == father) {
8 /* We dont want people slaying init */
9 p->exit_signal = SIGCHLD;
12 /* Make sure we're not reparenting to ourselves */
13 p->p_opptr = child_reaper;
14 --- linux/kernel/signal.c.original Mon Aug 5 12:26:49 2002
15 +++ linux/kernel/signal.c Mon Aug 5 12:34:44 2002
18 #include <asm/uaccess.h>
20 +extern struct task_struct* child_reaper;
23 * SLAB caches for signal bits.
29 + if (tsk->p_pptr==child_reaper) {
34 info.si_pid = tsk->pid;