mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
nixos/unbound: fix wrong syscall filter
This changes the syscall filter to match that of upstream. Note that SystemCallFilter=~foo bar is completely different from SystemCallFilter=~foo SystemCallFilter=bar The former one means that foo and bar are forbidden, and the latter one means foo is forbidden and bar is granted!
This commit is contained in:
parent
6e9240e25b
commit
c70614c0a4
@ -273,14 +273,7 @@ in {
|
||||
RestrictRealtime = true;
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = [
|
||||
"~@clock"
|
||||
"@cpu-emulation"
|
||||
"@debug"
|
||||
"@keyring"
|
||||
"@module"
|
||||
"mount"
|
||||
"@obsolete"
|
||||
"@resources"
|
||||
"~@clock @cpu-emulation @debug @keyring @module mount @obsolete @resources"
|
||||
];
|
||||
RestrictNamespaces = true;
|
||||
LockPersonality = true;
|
||||
|
Loading…
Reference in New Issue
Block a user