diff --git a/[refs] b/[refs] index aab505e30a22..facd80184403 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5dfc80be73dd0c212d2e6dd8dbf5afa07e680bbe +refs/heads/master: bb24c679a51b1a9b726b901330649e3861814ac0 diff --git a/trunk/include/linux/tracehook.h b/trunk/include/linux/tracehook.h index eb4c6545b384..c7aa154f4bfc 100644 --- a/trunk/include/linux/tracehook.h +++ b/trunk/include/linux/tracehook.h @@ -502,7 +502,7 @@ static inline int tracehook_notify_jctl(int notify, int why) static inline int tracehook_notify_death(struct task_struct *task, void **death_cookie, int group_dead) { - if (task->exit_signal == -1) + if (task_detached(task)) return task->ptrace ? SIGCHLD : DEATH_REAP; /*