]> git.baikalelectronics.ru Git - kernel.git/commit
seccomp: hoist out filter resolving logic
authorTycho Andersen <tycho@docker.com>
Wed, 11 Oct 2017 15:39:20 +0000 (09:39 -0600)
committerKees Cook <keescook@chromium.org>
Tue, 28 Nov 2017 23:36:01 +0000 (15:36 -0800)
commitd3d27b89e4531b40a20253698c36245c4c88d381
tree47b087ab2288fb3f975947e28992c7c35c3e19c2
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
seccomp: hoist out filter resolving logic

Hoist out the nth filter resolving logic that ptrace uses into a new
function. We'll use this in the next patch to implement the new
PTRACE_SECCOMP_GET_FILTER_FLAGS command.

Signed-off-by: Tycho Andersen <tycho@docker.com>
CC: Kees Cook <keescook@chromium.org>
CC: Andy Lutomirski <luto@amacapital.net>
CC: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
kernel/seccomp.c