audit.h: replace defines with C stubs
authorKees Cook <keescook@chromium.org>
Fri, 5 Oct 2012 00:11:11 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:35 +0000 (03:04 +0900)
commit9321d526dd731588f09508af48de50041785a26a
treeb8db96367019c85c18e8685d8cc9225b2d0332ec
parentecefbd94b834fa32559d854646d777c56749ef1c
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/audit.h