nixpkgs/pkgs
Joachim Fasting 87bc514620
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
2019-05-07 13:39:24 +02:00
..
applications Merge pull request #61028 from marsam/update-cedille 2019-05-07 13:11:33 +02:00
build-support nix-prefetch-git: add -h as shortcut for --help to improve quality of life 2019-05-03 23:56:40 +02:00
common-updater common-updater: Fix syntax 2019-05-06 08:49:11 -04:00
data Merge pull request #60683 from dtzWill/update/papirus-icon-theme-201905 2019-05-04 20:59:14 +02:00
desktops nixos/deepin: install polkit local authority files in /etc 2019-05-05 17:14:42 -03:00
development Merge pull request #61003 from r-ryantm/auto-update/ocaml4.06.1-ppxlib 2019-05-07 13:19:50 +02:00
games Merge pull request #57281 from r-ryantm/auto-update/liblcf 2019-05-05 20:14:48 +02:00
misc vscode-extensions.WakaTime.vscode-wakatime: 2.0.7 -> 2.0.9 2019-05-05 21:45:44 -04:00
os-specific hardened-config: enable the SafeSetID LSM 2019-05-07 13:39:24 +02:00
servers postgresqlPackages.timescaledb: 1.2.2 -> 1.3.0 (#61074) 2019-05-07 09:54:33 +01:00
shells oh-my-zsh: 2019-05-03 -> 2019-05-05 2019-05-06 08:49:11 -04:00
stdenv
test
tools Merge pull request #60678 from mayflower/atomicparsley-cross 2019-05-07 09:50:04 +00:00
top-level Merge pull request #61076 from Mic92/linux-fpu 2019-05-07 10:35:04 +01:00