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=09521577ca7718b6c83f095ca4f0d474b01a8378;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);