]> 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>
Wed, 19 Sep 2012 05:29:53 +0000 (15:29 +1000)
commit97cb5bb3003c41855ccd2bbcb6eb006ccfb70983
treea6f836569bb4382337532e217e007bb17201f312
parent0fff6a18e30e7c22791cf5f5d77808ebc7d2265f
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