Skip to contentSkip to conversation

small simplification for two SECURITY dependencies

PATCH New Chris Wright 1 participant 1 message Aug 14, 2004 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small simplification for two SECURITY dependencies

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

===== security/Kconfig 1.7 vs edited =====

security/Kconfig +2 -2
@@ -26,14 +26,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