diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-04-01 18:13:01 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-04-04 00:11:05 (GMT) |
commit | 321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9 (patch) | |
tree | 4123410887b549284ed32cf5e8fb799fd2540c14 /block/elevator.c | |
parent | ee77f075921730b2b465880f9fd4367003bdab39 (diff) | |
download | linux-fsl-qoriq-321fb561971ba0f10ce18c0f8a4b9fbfc7cef4b9.tar.xz |
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 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions