projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
redefine thread_group_leader() as exit_signal >= 0
[linux-2.6-block.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index 8dca45b0dae8f5a1df3d633b90997af2cbbc4088..c3d517bfdd273c84ad6051a4fa8a8e1b5f173e81 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-963,6
+963,7
@@
static int de_thread(struct task_struct *tsk)
leader->group_leader = tsk;
tsk->exit_signal = SIGCHLD;
+ leader->exit_signal = -1;
BUG_ON(leader->exit_state != EXIT_ZOMBIE);
leader->exit_state = EXIT_DEAD;