lkml.org 
[lkml]   [2005]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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)
\
 
 \ /
  Last update: 2005-07-01 22:51    [W:0.043 / U:1.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site