summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2016-01-20 23:59:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-21 02:09:18 +0100
commit570ac9337b5c13dbf46ca6758c376e2e13e8956f (patch)
tree361e5714890df92ffe88ea81b6125ed165511d61 /security/smack
parentptrace: make wait_on_bit(JOBCTL_TRAPPING_BIT) in ptrace_attach() killable (diff)
downloadlinux-570ac9337b5c13dbf46ca6758c376e2e13e8956f.tar.xz
linux-570ac9337b5c13dbf46ca6758c376e2e13e8956f.zip
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/smack')
0 files changed, 0 insertions, 0 deletions