Re: [RE-RESEND][PATCH] audit: replace defines with C stubs

2012-09-20 Thread Kees Cook
On Thu, Sep 13, 2012 at 12:43 PM, Geert Uytterhoeven wrote: > On Tue, Aug 7, 2012 at 2:40 AM, Kees Cook wrote: >> This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS >> are disabled so we get type checking during those builds. >> >> Suggested-by: Andrew Morton >> Signed-of

Re: [RE-RESEND][PATCH] audit: replace defines with C stubs

2012-09-13 Thread Geert Uytterhoeven
On Tue, Aug 7, 2012 at 2:40 AM, Kees Cook wrote: > This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS > are disabled so we get type checking during those builds. > > Suggested-by: Andrew Morton > Signed-off-by: Kees Cook JFYI, the change -#define audit_syscall_entry(ta,

[RE-RESEND][PATCH] audit: replace defines with C stubs

2012-08-06 Thread Kees Cook
This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS are disabled so we get type checking during those builds. Suggested-by: Andrew Morton Signed-off-by: Kees Cook --- - rebased for recent changes merged to Linus's tree. --- include/linux/audit.h | 179 +

[RESEND][PATCH] audit: replace defines with C stubs

2012-07-25 Thread Kees Cook
This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS are disabled so we get type checking during those builds. Suggested-by: Andrew Morton Signed-off-by: Kees Cook --- include/linux/audit.h | 173 - 1 files changed, 127 inse