]> 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>
Fri, 7 Sep 2012 05:36:04 +0000 (15:36 +1000)
commit8e23b9a5dd4cc505ecc675a3a69826843b736885
tree43f94e3238a533e2268fb173cba4c3ed75afa575
parented0d508a33a7c756817f2df8c3df29a9c3f59864
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