nixos/nginx: tengine requires allowing @ipc calls

This commit is contained in:
Izorkin 2021-11-23 01:28:43 +03:00
parent 78546bbbc5
commit 7376f4e34f
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -907,7 +907,7 @@ in
PrivateMounts = true;
# System Call Filtering
SystemCallArchitectures = "native";
SystemCallFilter = "~@cpu-emulation @debug @keyring @ipc @mount @obsolete @privileged @setuid @mincore";
SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid @mincore" ] ++ optionals (cfg.package != pkgs.tengine) [ "~@ipc" ];
};
};