tile/ptrace: run seccomp after ptrace
authorKees Cook <keescook@chromium.org>
Fri, 3 Jun 2016 02:56:43 +0000 (19:56 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 14 Jun 2016 17:54:46 +0000 (10:54 -0700)
commit635efc702984857b45a2a2491ed7a529e14cbdf9
treea85e780e94d69da8bbd2c9a914d14a61353092af
parent1addc57e111b920f94edb867094ccaa7c1e820b8
tile/ptrace: run seccomp after ptrace

Close the hole where ptrace can change a syscall out from under seccomp.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
arch/tile/kernel/ptrace.c