X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fexec.c;h=160cd2f6baf9614b1a6bc55f706e66e3e941ddcc;hb=0f3cbc35d2097d2c655789dd4996e7b87bdb5d34;hp=36254645b7cc4d81f7c73b2940767fe06de1642c;hpb=06ef93e1b8405acac6ec900564e3ad1a8e3a72b2;p=pandora-kernel.git diff --git a/fs/exec.c b/fs/exec.c index 36254645b7cc..160cd2f6baf9 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -973,6 +973,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);