1 Fix a crash that can be caused by a CLONE_DETACHED thread.
2 Author: Ingo Molnar <mingo@elte.hu>
4 --- linux/kernel/exit.c.orig Mon Sep 9 14:06:05 2002
5 +++ linux/kernel/exit.c Mon Sep 9 14:06:25 2002
10 - if(current->exit_signal != SIGCHLD &&
11 + if(current->exit_signal != SIGCHLD && current->exit_signal != -1 &&
12 ( current->parent_exec_id != t->self_exec_id ||
13 current->self_exec_id != current->parent_exec_id)
14 && !capable(CAP_KILL))