aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2009-04-02 16:58:11 -0700
committerLinus Torvalds <[email protected]>2009-04-02 19:04:59 -0700
commit95c3eb76dc07fd81289888ffc42948196b34b444 (patch)
treea656316699a090405387d0071bac2a03a7128f57 /include/linux
parent6588c1e3ff01418acafd938db0740e3477dc8cb7 (diff)
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 <[email protected]> Cc: Jerome Marchand <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Denys Vlasenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions