Skip to content

Commit

Permalink
LSM: SafeSetID: 'depend' on CONFIG_SECURITY
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
micah-morton authored and James Morris committed Jan 29, 2019
1 parent f67e20d commit 2f87324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/safesetid/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2f87324

Please sign in to comment.