]> asedeno.scripts.mit.edu Git - linux.git/commit
security: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 8 Aug 2016 17:08:25 +0000 (13:08 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 8 Aug 2016 17:08:25 +0000 (13:08 -0400)
commit1a93a6eac32a2853177f10e274b9b761b42356eb
treeb73ccb5b91aa686889013f8814b40d8414c4718a
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
security: Use IS_ENABLED() instead of checking for built-in or module

The IS_ENABLED() macro checks if a Kconfig symbol has been enabled
either built-in or as a module, use that macro instead of open coding
the same.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm_audit.c
security/selinux/hooks.c
security/smack/smack_netfilter.c