projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Don't auto-reap traced children
[deliverable/linux.git]
/
kernel
/
signal.c
diff --git
a/kernel/signal.c
b/kernel/signal.c
index 1bf3c39d61092209bd66c51e9ba53e7bd24b7d04..80789a59b4dbc6553a21b6f8075f803ad76fc5be 100644
(file)
--- a/
kernel/signal.c
+++ b/
kernel/signal.c
@@
-1499,7
+1499,7
@@
void do_notify_parent(struct task_struct *tsk, int sig)
psig = tsk->parent->sighand;
spin_lock_irqsave(&psig->siglock, flags);
- if (sig == SIGCHLD &&
+ if (
!tsk->ptrace &&
sig == SIGCHLD &&
(psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN ||
(psig->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT))) {
/*
This page took
0.034329 seconds
and
5
git commands to generate.