[2.6 patch] small simplification for two SECURITY dependencies

From: Adrian Bunk (bunk@private)
Date: Thu Aug 12 2004 - 14:19:17 PDT


I'd suggest the patch below to let the SECURITY_CAPABILITIES and 
SECURITY_ROOTPLUG dependencies look a bit more simple.


Signed-off-by: Adrian Bunk <bunk@private>

--- linux-2.6.8-rc4-mm1-full-3.4/security/Kconfig.old	2004-08-12 23:16:17.000000000 +0200
+++ linux-2.6.8-rc4-mm1-full-3.4/security/Kconfig	2004-08-12 23:16:34.000000000 +0200
@@ -43,14 +43,14 @@
 
 config SECURITY_CAPABILITIES
 	tristate "Default Linux Capabilities"
-	depends on SECURITY!=n
+	depends on SECURITY
 	help
 	  This enables the "default" Linux capabilities functionality.
 	  If you are unsure how to answer this question, answer Y.
 
 config SECURITY_ROOTPLUG
 	tristate "Root Plug Support"
-	depends on USB && SECURITY!=n
+	depends on USB && SECURITY
 	help
 	  This is a sample LSM module that should only be used as such.
 	  It prevents any programs running with egid == 0 if a specific



This archive was generated by hypermail 2.1.3 : Thu Aug 12 2004 - 14:19:42 PDT