]> git.pld-linux.org Git - packages/kernel.git/blame - jam-04-clone-detached.patch
- minor fix. it builds but linking needs fix.
[packages/kernel.git] / jam-04-clone-detached.patch
CommitLineData
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))
This page took 0.12843 seconds and 4 git commands to generate.