diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-04-01 20:13:01 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-04-04 02:11:05 +0200 |
commit | 321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9 (patch) | |
tree | 4123410887b549284ed32cf5e8fb799fd2540c14 /kernel/signal.c | |
parent | ee77f075921730b2b465880f9fd4367003bdab39 (diff) | |
download | op-kernel-dev-321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9.zip op-kernel-dev-321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9.tar.gz |
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