git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf_counter: Ammend cleanup in fork() fail
[safe/jmp/linux-2.6]
/
include
/
linux
/
tracehook.h
diff --git
a/include/linux/tracehook.h
b/include/linux/tracehook.h
index
eb4c654
..
c7aa154
100644
(file)
--- a/
include/linux/tracehook.h
+++ b/
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;
/*