nixpkgs/nixos/modules
Robert Obryk e3550208de nixos/security/wrappers: read capabilities off /proc/self/exe directly
/proc/self/exe is a "fake" symlink. When it's opened, it always opens
the actual file that was execve()d in this process, even if the file was
deleted or renamed; if the file is no longer accessible from the current
chroot/mount namespace it will at the very worst fail and never open the
wrong file. Thus, we can make a much simpler argument that we're reading
capabilities off the correct file after this change (and that argument
doesn't rely on things such as protected_hardlinks being enabled, or no
users being able to write to /run/wrappers, or the verification that the
path readlink returns starts with /run/wrappers/).
2023-08-27 14:10:38 +02:00
..
config nixos/zram: use nixos/zram-generator as backing implementation 2023-08-13 15:38:40 +08:00
hardware Merge pull request #244060 from Gerg-L/nvidiaDynamicBoost 2023-08-10 17:02:26 +02:00
i18n/input-method nixos/fcitx5: fix evaluation 2023-08-15 08:15:41 +08:00
image modules/image/repart: Fix stripNixStorePrefix 2023-08-22 13:09:03 +02:00
installer Merge pull request #248701 from doronbehar/nixos/manpages 2023-08-16 15:49:49 +00:00
misc nixos/doc: Improve documentation of documentation 2023-08-12 22:28:04 +03:00
profiles nixos/installation-device: allow nix-copy for root/nixos user 2023-08-07 16:48:49 +02:00
programs Merge pull request #248748 from acid-bong/zshLsColors 2023-08-24 22:04:43 +03:00
security nixos/security/wrappers: read capabilities off /proc/self/exe directly 2023-08-27 14:10:38 +02:00
services nixos/netbox: add keycloakClientSecret option 2023-08-25 15:42:44 +01:00
system nixos/binfmt: use PE magic to detect Wine executables 2023-08-23 16:20:57 +03:00
tasks nixos/security/wrappers: generate a separate and more complete apparmor policy fragment for each wrapper 2023-08-27 14:10:07 +02:00
testing Merge pull request #219106 from m-bdf/nixos-testing-increase-device-timeout 2023-06-20 11:48:45 +02:00
virtualisation Merge master into staging-next 2023-08-19 00:01:42 +00:00
module-list.nix Merge pull request #248855 from NickCao/zram-generator 2023-08-24 08:57:22 +08:00
rename.nix nixos/dhcp(46): remove 2023-07-28 16:35:40 +02:00