[PATCH v9 03/11] seccomp: split mode setting routines

2014-06-27 Thread Kees Cook
Separates the two mode setting paths to make things more readable with fewer #ifdefs within function bodies. Signed-off-by: Kees Cook --- kernel/seccomp.c | 71 -- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git

[PATCH v9 03/11] seccomp: split mode setting routines

2014-06-27 Thread Kees Cook
Separates the two mode setting paths to make things more readable with fewer #ifdefs within function bodies. Signed-off-by: Kees Cook keesc...@chromium.org --- kernel/seccomp.c | 71 -- 1 file changed, 48 insertions(+), 23 deletions(-) diff