]> git.pld-linux.org Git - packages/kernel.git/blob - jam-04-clone-detached.patch
- CSZ scheduler removed from kernel tree.
[packages/kernel.git] / jam-04-clone-detached.patch
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.044812 seconds and 3 git commands to generate.