1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-22 10:19:36 +01:00

Add a test for CVE-2022-24765

NixOS VM test since handling different users without that is bound to be
tricky
This commit is contained in:
Théophane Hufschmitt 2023-06-21 17:11:13 +02:00
parent e5a211d77e
commit d4c6722332
2 changed files with 66 additions and 0 deletions

View file

@ -598,6 +598,8 @@
["i686-linux" "x86_64-linux"]
(system: runNixOSTestFor system ./tests/nixos/setuid.nix);
tests.cve-2022-24765 = runNixOSTestFor "x86_64-linux" ./tests/nixos/cve-2022-24765.nix;
# Make sure that nix-env still produces the exact same result
# on a particular version of Nixpkgs.