Skip to contentSkip to conversation

2.6.13-rc1-mm1 make selinux depend on AUDIT

PATCH New Badari Pulavarty 1 participant 1 message Jul 1, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.13-rc1-mm1 make selinux depend on AUDIT

Hi Andrew,

I ran into this while testing various config options. It looks like SELINUX doesn't compile without AUDIT.

security/selinux/avc.c:553:75: macro "audit_log_start" passed 3 arguments, but takes just 2 security/selinux/avc.c: In function `avc_audit':
security/selinux/avc.c:553: error: `audit_log_start' undeclared (first use in this function) security/selinux/avc.c:553: error: (Each undeclared identifier is reported only once security/selinux/avc.c:553: error: for each function it appears in.)

Thanks,
Badari

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

security/selinux/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config SECURITY_SELINUX
 	bool "NSA SELinux Support"
-	depends on SECURITY && NET && INET
+	depends on SECURITY && NET && INET && AUDIT
 	default n
 	help
 	  This selects NSA Security-Enhanced Linux (SELinux).