]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: use select not depends in Kconfig
authorCasey Schaufler <casey@schaufler-ca.com>
Fri, 2 Nov 2012 18:28:11 +0000 (11:28 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 14 Dec 2012 18:57:10 +0000 (10:57 -0800)
commit2fc89f80fe5d65b812b9c2ade5b4a06ca85017b2
tree8629b99d4166e0b5dd730a6e1a187e4b319e82f3
parenta0d541ce9afa376e3e4935fb2341d2238588cdf6
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: Casey Schaufler <casey@schaufler-ca.com>
security/smack/Kconfig