]> 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>
Wed, 12 Sep 2012 07:08:17 +0000 (17:08 +1000)
commitde1ca0ae57b5aa0c872829463e5a3a337db04ae0
tree45cd421b6f35ed081c5745f49177d49d4038729b
parentc499d113ca0be9dfbbc84d6d70503dd7e5e2da9d
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