Messages in this thread Patch in this message | | | Date | Fri, 1 Jul 2005 13:43:51 -0700 (PDT) | From | Badari Pulavarty <> | Subject | [PATCH] 2.6.13-rc1-mm1 audit_log_start() warning fix |
| |
Hi Andrew,
audit_log_start() seems to take 3 arguments, but its defined to take only 2 when AUDIT is turned off. Simple patch to fix it.
security/selinux/avc.c:553:75: macro "audit_log_start" passed 3 arguments, but takes just 2
Thanks, Badari
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- linux-2.6.13-rc1.org/include/linux/audit.h 2005-07-01 12:57:31.000000000 -0700 +++ linux-2.6.13-rc1/include/linux/audit.h 2005-07-01 13:24:21.000000000 -0700 @@ -286,7 +286,7 @@ extern void audit_log_lost(const ch extern struct semaphore audit_netlink_sem; #else #define audit_log(c,t,f,...) do { ; } while (0) -#define audit_log_start(c,t) ({ NULL; }) +#define audit_log_start(c,g,t) ({ NULL; }) #define audit_log_vformat(b,f,a) do { ; } while (0) #define audit_log_format(b,f,...) do { ; } while (0) #define audit_log_end(b) do { ; } while (0) | |