seccomp: split mode setting routines
authorKees Cook <keescook@chromium.org>
Wed, 25 Jun 2014 22:55:25 +0000 (15:55 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 18 Jul 2014 19:13:37 +0000 (12:13 -0700)
Separates the two mode setting paths to make things more readable with
fewer #ifdefs within function bodies.

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

Simple merge