3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/security/wrappers
Jörg Thalheim eadffd9154
nixos/wrappers: fix applying capabilities
With libcap 2.41 the output of cap_to_text changed, also the original
author of code hoped that this would never happen.
To counter this now the security-wrapper only relies on the syscall
ABI, which is more stable and robust than string parsing. If new
breakages occur this will be more obvious because version numbers will
be incremented.
Furthermore all errors no make execution explicitly fail instead of
hiding errors behind debug environment variables and the code style was
more consistent with no goto fail; goto fail; vulnerabilities (https://gotofail.com/)
2021-01-14 08:46:57 +01:00
..
default.nix nixos/wrappers: fix applying capabilities 2021-01-14 08:46:57 +01:00
wrapper.c nixos/wrappers: fix applying capabilities 2021-01-14 08:46:57 +01:00
wrapper.nix nixos/wrappers: fix applying capabilities 2021-01-14 08:46:57 +01:00