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 <mortonm@chromium.org> Signed-off-by: James Morris <james.morris@microsoft.com>
This commit is contained in:
parent
f67e20d20f
commit
2f87324be7
|
@ -1,5 +1,7 @@
|
||||||
config SECURITY_SAFESETID
|
config SECURITY_SAFESETID
|
||||||
bool "Gate setid transitions to limit CAP_SET{U/G}ID capabilities"
|
bool "Gate setid transitions to limit CAP_SET{U/G}ID capabilities"
|
||||||
|
depends on SECURITY
|
||||||
|
select SECURITYFS
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
SafeSetID is an LSM module that gates the setid family of syscalls to
|
SafeSetID is an LSM module that gates the setid family of syscalls to
|
||||||
|
|
Loading…
Reference in New Issue