projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptrace: __ptrace_detach: do __wake_up_parent() if we reap the tracee
[linux-2.6-block.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 60d6fdcc926509da90ebe38b4e59c275290e8d9f..782b2e1f7ca286b17bddd6d5c3afeb1fb8911118 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-1575,6
+1575,11
@@
static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk)
return 0;
}
+void __wake_up_parent(struct task_struct *p, struct task_struct *parent)
+{
+ wake_up_interruptible_sync(&parent->signal->wait_chldexit);
+}
+
static long do_wait(struct wait_opts *wo)
{
DECLARE_WAITQUEUE(wait, current);