Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 111fe8bd authored by Casey Schaufler's avatar Casey Schaufler
Browse files

Smack: use select not depends in Kconfig

The components NETLABEL and SECURITY_NETWORK are required by
Smack. Using "depends" in Kconfig hides the Smack option
if the user hasn't figured out that they need to be enabled
while using make menuconfig. Using select is a better choice.
Because select is not recursive depends on NET and SECURITY
are added. The reflects similar usage in TOMOYO and AppArmor.

Targeted for git://git.gitorious.org/smack-next/kernel.git



Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 3f0cc6ae
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
config SECURITY_SMACK
	bool "Simplified Mandatory Access Control Kernel Support"
	depends on NETLABEL && SECURITY_NETWORK
	depends on NET
	depends on INET
	depends on SECURITY
	select NETLABEL
	select SECURITY_NETWORK
	default n
	help
	  This selects the Simplified Mandatory Access Control Kernel.