aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@fs.tum.de>2003-06-01 19:39:52 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-06-01 19:39:52 -0700
commit2a5b5e62eb39e3ec6e47615a037fd3cd30995f28 (patch)
tree67a5249231fa614c24ec28d5d5418da200e2db5b /security
parentecfc7a21fba9548e368d2fcf39b379e43e435697 (diff)
downloadhistory-2a5b5e62eb39e3ec6e47615a037fd3cd30995f28.tar.gz
[PATCH] SECURITY_ROOTPLUG must depend on USB
The following patch lets SECURITY_ROOTPLUG depend on USB (otherwise there are link errors since Root Plug Support needs usb_bus_list{,_lock}):
Diffstat (limited to 'security')
-rw-r--r--security/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/Kconfig b/security/Kconfig
index e529321997bd05..4c7e0a75872568 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -33,7 +33,7 @@ config SECURITY_CAPABILITIES
config SECURITY_ROOTPLUG
tristate "Root Plug Support"
- depends on SECURITY!=n
+ depends on USB && SECURITY!=n
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