Smack: use select not depends in Kconfig
authorCasey Schaufler <casey@schaufler-ca.com>
Fri, 2 Nov 2012 18:28:11 +0000 (11:28 -0700)
committerHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 11 Nov 2013 11:51:17 +0000 (13:51 +0200)
commitfc69e02cedba708ed116e26f0edf535380691cb6
treec73499e1d31a1f45cf04adfe7d92a33e7fc11d93
parentdf8354bdff705b30a32271ad1942048fa77a8ddf
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

(Upstream commit id: 111fe8bd65e473d5fc6a0478cf1e2c8c6a77489a)

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
security/smack/Kconfig