summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov2009-04-03 01:58:11 +0200
committerLinus Torvalds2009-04-03 04:04:59 +0200
commit95c3eb76dc07fd81289888ffc42948196b34b444 (patch)
treea656316699a090405387d0071bac2a03a7128f57 /kernel/exit.c
parentsignals: SI_USER: Masquerade si_pid when crossing pid ns boundary (diff)
downloadkernel-qcow2-linux-95c3eb76dc07fd81289888ffc42948196b34b444.tar.gz
kernel-qcow2-linux-95c3eb76dc07fd81289888ffc42948196b34b444.tar.xz
kernel-qcow2-linux-95c3eb76dc07fd81289888ffc42948196b34b444.zip
ptrace: kill __ptrace_detach(), fix ->exit_state check
Move the code from __ptrace_detach() to its single caller and kill this helper. Also, fix the ->exit_state check, we shouldn't wake up EXIT_DEAD tasks. Actually, I think task_is_stopped_or_traced() makes more sense, but this needs another patch. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Jerome Marchand <jmarchan@redhat.com> Cc: Roland McGrath <roland@redhat.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions