Skip to contentSkip to conversation

small simplification for two SECURITY dependencies

PATCH In review Adrian Bunk 2 participants 2 messages Aug 12, 2004 – Aug 13, 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 renamed from security/Kconfig.old +2 -2
@@ -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
#1 lore raw
Quoted 3 lines · * Adrian Bunk ([email protected]) wrote:

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

I agree, can push this up today with a couple other outstanding changes I have. Thank you.
-chris

Signature · 1 line
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net