blob: 18b5fb90417b1cc87d7cd5e4f80f8715ab25792f [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Micah Mortonaeca4e22019-01-16 07:46:06 -08002config SECURITY_SAFESETID
3 bool "Gate setid transitions to limit CAP_SET{U/G}ID capabilities"
Micah Morton2f873242019-01-29 10:54:24 -08004 depends on SECURITY
5 select SECURITYFS
Micah Mortonaeca4e22019-01-16 07:46:06 -08006 default n
7 help
8 SafeSetID is an LSM module that gates the setid family of syscalls to
9 restrict UID/GID transitions from a given UID/GID to only those
10 approved by a system-wide whitelist. These restrictions also prohibit
11 the given UIDs/GIDs from obtaining auxiliary privileges associated
12 with CAP_SET{U/G}ID, such as allowing a user to set up user namespace
13 UID mappings.
14
15 If you are unsure how to answer this question, answer N.