Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139696
b: refs/heads/master
c: bb24c67
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 3, 2009
1 parent 8c9d6a4 commit 9604f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dfc80be73dd0c212d2e6dd8dbf5afa07e680bbe
refs/heads/master: bb24c679a51b1a9b726b901330649e3861814ac0
2 changes: 1 addition & 1 deletion trunk/include/linux/tracehook.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 9604f28

Please sign in to comment.