seccomp: swap hard-coded zeros to defined name
authorKees Cook <keescook@chromium.org>
Mon, 15 Jun 2015 22:29:16 +0000 (15:29 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 15 Jul 2015 18:52:54 +0000 (11:52 -0700)
commit221272f97ca528048a577a3ff23d7774286ca5fd
tree78c221163aa09492b6cc2c90943734e5fcc1b9ba
parent13c4a90119d28cfcb6b5bdd820c233b86c2b0237
seccomp: swap hard-coded zeros to defined name

For clarity, if CONFIG_SECCOMP isn't defined, seccomp_mode() is returning
"disabled". This makes that more clear, along with another 0-use, and
results in no operational change.

Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/seccomp.h
kernel/seccomp.c