summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-04-01 20:13:01 +0200
committerTejun Heo <tj@kernel.org>2011-04-04 02:11:05 +0200
commit321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9 (patch)
tree4123410887b549284ed32cf5e8fb799fd2540c14 /kernel/signal.c
parentsignal: Turn SIGNAL_STOP_DEQUEUED into GROUP_STOP_DEQUEUED (diff)
downloadlinux-321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9.tar.xz
linux-321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9.zip
ptrace: ptrace_check_attach() should not do s/STOPPED/TRACED/
After "ptrace: Clean transitions between TASK_STOPPED and TRACED" d79fdd6d96f46fabb779d86332e3677c6f5c2a4f, ptrace_check_attach() should never see a TASK_STOPPED tracee and s/STOPPED/TRACED/ is no longer legal. Add the warning. Note: ptrace_check_attach() can be greatly simplified, in particular it doesn't need tasklist. But I'd prefer another patch for that. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions