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
exit_signal: simplify the "we have changed execution domain" logic
[linux-2.6-block.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index b0695a9900ef0d095cb2a3726f2c6526360459dd..1e94d2263ae08150d22c193809e384231db6440d 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-977,6
+977,9
@@
static int de_thread(struct task_struct *tsk)
sig->notify_count = 0;
no_thread_group:
+ /* we have changed execution domain */
+ tsk->exit_signal = SIGCHLD;
+
if (current->mm)
setmax_mm_hiwater_rss(&sig->maxrss, current->mm);