Commit 2a5b5e62 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

[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}):
parent ecfc7a21
...@@ -33,7 +33,7 @@ config SECURITY_CAPABILITIES ...@@ -33,7 +33,7 @@ config SECURITY_CAPABILITIES
config SECURITY_ROOTPLUG config SECURITY_ROOTPLUG
tristate "Root Plug Support" tristate "Root Plug Support"
depends on SECURITY!=n depends on USB && SECURITY!=n
help help
This is a sample LSM module that should only be used as such. This is a sample LSM module that should only be used as such.
It prevents any programs running with egid == 0 if a specific It prevents any programs running with egid == 0 if a specific
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment