[PATCH] 2.6.13-rc1-mm1 make selinux depend on AUDIT

From: Badari Pulavarty
Date: Fri Jul 01 2005 - 15:45:14 EST


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 --- linux-2.6.13-rc1.org/security/selinux/Kconfig 2005-07-01 13:18:39.000000000 -0700
+++ linux-2.6.13-rc1/security/selinux/Kconfig 2005-07-01 13:11:35.000000000 -0700
@@ -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).