diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-06-26 00:26:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:27 -0700 |
commit | d5f70c00ad24cd1158d3678b44ff969b4c971d49 (patch) | |
tree | b4b71a71b413250fb24cb2d83cbbfd7507da9efc /lib/percpu_counter.c | |
parent | 281de339ceb822ca6c04d4373ecb9a45c1890ce4 (diff) | |
download | op-kernel-dev-d5f70c00ad24cd1158d3678b44ff969b4c971d49.zip op-kernel-dev-d5f70c00ad24cd1158d3678b44ff969b4c971d49.tar.gz |
[PATCH] coredump: kill ptrace related stuff
With this patch zap_process() sets SIGNAL_GROUP_EXIT while sending SIGKILL to
the thread group. This means that a TASK_TRACED task
1. Will be awakened by signal_wake_up(1)
2. Can't sleep again via ptrace_notify()
3. Can't go to do_signal_stop() after return
from ptrace_stop() in get_signal_to_deliver()
So we can remove all ptrace related stuff from coredump path.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions