From 2f87324be7736151bd1f9bf1d63b1eb0401011ba Mon Sep 17 00:00:00 2001 From: Micah Morton Date: Tue, 29 Jan 2019 10:54:24 -0800 Subject: LSM: SafeSetID: 'depend' on CONFIG_SECURITY This patch changes the Kconfig file for the SafeSetID LSM to depend on CONFIG_SECURITY as well as select CONFIG_SECURITYFS, since the policies for the LSM are configured through writing to securityfs. Signed-off-by: Micah Morton Signed-off-by: James Morris --- security/safesetid/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security') diff --git a/security/safesetid/Kconfig b/security/safesetid/Kconfig index bf89a47ffcc8..4f415c4e3f93 100644 --- a/security/safesetid/Kconfig +++ b/security/safesetid/Kconfig @@ -1,5 +1,7 @@ config SECURITY_SAFESETID bool "Gate setid transitions to limit CAP_SET{U/G}ID capabilities" + depends on SECURITY + select SECURITYFS default n help SafeSetID is an LSM module that gates the setid family of syscalls to -- cgit v1.2.3-59-g8ed1b