summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/ptrace.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-09 12:36:50 -0700
committerKees Cook <keescook@chromium.org>2016-06-14 10:54:41 -0700
commit93e35efb8de45393cf61ed07f7b407629bf698ea (patch)
tree862d7e65445f7c7a53025fbfc097eb9e4f363715 /arch/arm/kernel/ptrace.c
parentce6526e8afa4b6ad0ab134a4cc50c9c863319637 (diff)
x86/ptrace: run seccomp after ptrace
This moves seccomp after ptrace on x86 to that seccomp can catch changes made by ptrace. Emulation should skip the rest of processing too. We can get rid of test_thread_flag because there's no longer any opportunity for seccomp to mess with ptrace state before invoking ptrace. Suggested-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Cc: x86@kernel.org Cc: Andy Lutomirski <luto@kernel.org>
Diffstat (limited to 'arch/arm/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions