summaryrefslogtreecommitdiff
path: root/security/yama
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2016-01-21 01:59:58 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-21 04:09:18 +0300
commit570ac9337b5c13dbf46ca6758c376e2e13e8956f (patch)
tree361e5714890df92ffe88ea81b6125ed165511d61 /security/yama
parent7c3b00e06d731a28fc3d17ed02ba250642b15b81 (diff)
downloadlinux-570ac9337b5c13dbf46ca6758c376e2e13e8956f.tar.xz
ptrace: task_stopped_code(ptrace => true) can't see TASK_STOPPED task
task_stopped_code()->task_is_stopped_or_traced() doesn't look right, the traced task must never be TASK_STOPPED. We can not add WARN_ON(task_is_stopped(p)), but this is only because do_wait() can race with PTRACE_ATTACH from another thread. [akpm@linux-foundation.org: teeny cleanup] Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Roland McGrath <roland@hack.frob.com> Acked-by: Tejun Heo <tj@kernel.org> Cc: Pedro Alves <palves@redhat.com> Cc: Jan Kratochvil <jan.kratochvil@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions