]>
Commit | Line | Data |
---|---|---|
e6d11017 JR |
1 | Fix a crash that can be caused by a CLONE_DETACHED thread. |
2 | Author: Ingo Molnar <mingo@elte.hu> | |
3 | ||
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 | |
6 | @@ -416,7 +416,7 @@ | |
7 | * | |
8 | */ | |
9 | ||
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)) |