]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit.h: replace defines with C stubs
authorKees Cook <keescook@chromium.org>
Fri, 28 Sep 2012 00:18:52 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:04 +0000 (15:03 +1000)
commit1b4bbbfd5a8ef9f776ce597f81c06da51f8f1586
tree367352efe3a7fdc5bada1471d35f336910df00f8
parent9a05b065b3e4027469e555dc460c72b615314d68
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