]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit.h: replace defines with C stubs
authorKees Cook <keescook@chromium.org>
Fri, 7 Sep 2012 00:17:51 +0000 (10:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 06:17:49 +0000 (16:17 +1000)
commit93a353b35b15f5ed921e9a9f24861c2bbb0cbf22
tree5812aab0076daf7cc15b0ed0139bee28afdd1356
parent4c4536ba7276fd949b44b1b0114095a212d6b7bc
audit.h: replace defines with C stubs

Replace the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS are
disabled so we get type checking during those builds.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/audit.h