]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e5f79b86e8ffb3ebeff2a6b3fa0a8b14d78bb86
treeb8db96367019c85c18e8685d8cc9225b2d0332ec
parent3249a0e68cf620c6084d05f5bd7b8ba4857ffbde
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