summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2019-05-07 11:08:36 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2019-05-07 13:39:24 +0200
commit87bc514620998a3e64278a3eadbe660c51bafabe (patch)
tree53f735b0f42df34f69842ce75483cff396a6ffa7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent7085da0cef8a596ffa0029c838261602c77a33d5 (diff)
hardened-config: enable the SafeSetID LSM
The purpose of this LSM is to allow processes to drop to a less privileged user id without having to grant them full CAP_SETUID (or use file caps). The LSM allows configuring a whitelist policy of permitted from:to uid transitions. The policy is enforced upon calls to setuid(2) and related syscalls. Policies are configured through securityfs by writing to - safesetid/add_whitelist_policy ; and - safesetid/flush_whitelist_policies A process attempting a transition not permitted by current policy is killed (to avoid accidentally running with higher privileges than intended). A uid that has a configured policy is prevented from obtaining auxiliary setuid privileges (e.g., setting up user namespaces). See also: https://www.kernel.org/doc/html/latest/admin-guide/LSM/SafeSetID.html
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions