diff options
Diffstat (limited to 'nixos/tests/grsecurity.nix')
-rw-r--r-- | nixos/tests/grsecurity.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/grsecurity.nix b/nixos/tests/grsecurity.nix index aadbfd8371ff..ed0101621520 100644 --- a/nixos/tests/grsecurity.nix +++ b/nixos/tests/grsecurity.nix @@ -9,7 +9,6 @@ import ./make-test.nix ({ pkgs, ...} : { machine = { config, pkgs, ... }: { security.grsecurity.enable = true; boot.kernel.sysctl."kernel.grsecurity.deter_bruteforce" = 0; - security.apparmor.enable = true; }; testScript = '' @@ -37,5 +36,9 @@ import ./make-test.nix ({ pkgs, ...} : { $machine->execute("echo -e '#include <stdio.h>\nint main(void) { puts(\"hello\"); return 0; }' >main.c"); $machine->succeed("${pkgs.tinycc.bin}/bin/tcc -run main.c"); }; + + subtest "RBAC", sub { + $machine->succeed("[ -c /dev/grsec ]"); + }; ''; }) |