Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f87324b authored by Micah Morton's avatar Micah Morton Committed by James Morris
Browse files

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: default avatarMicah Morton <mortonm@chromium.org>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
parent f67e20d2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
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