]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit.h: replace defines with C stubs
authorKees Cook <keescook@chromium.org>
Thu, 13 Sep 2012 00:58:18 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 20 Sep 2012 07:04:47 +0000 (17:04 +1000)
commitf169061a043363d0868c6b1a1ca1a42598071a59
treeb5df9621384672d0519e26ecf7b8c2a735c81f1a
parent39893f90c0b234f106f8b4b97fc61feb261c98a2
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