1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-03 06:19:10 +03:00

Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-02-12 12:05:57 +00:00 committed by GitHub
commit 97b9d455ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
381 changed files with 799 additions and 643 deletions

View file

@ -29,6 +29,14 @@ import ./make-test-python.nix (
security.apparmor.enable = true;
security.wrappers = {
disabled = {
enable = false;
owner = "root";
group = "root";
setuid = true;
source = "${busybox pkgs}/bin/busybox";
program = "disabled_busybox";
};
suidRoot = {
owner = "root";
group = "root";
@ -112,6 +120,9 @@ import ./make-test-python.nix (
# actually makes the apparmor policy for ping, but there's no convenient
# test for that one.
machine.succeed("ping -c 1 127.0.0.1")
# Test that the disabled wrapper is not present.
machine.fail("test -e /run/wrappers/bin/disabled_busybox")
'';
}
)