From ba8041fc2bf51480e58b2985f184eb58a7777b4d Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Tue, 25 Oct 2022 11:51:40 +0800 Subject: [PATCH] nixos/croc: set proper SystemCallFilter --- nixos/modules/services/networking/croc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/croc.nix b/nixos/modules/services/networking/croc.nix index d3902611a625..45bfd447da45 100644 --- a/nixos/modules/services/networking/croc.nix +++ b/nixos/modules/services/networking/croc.nix @@ -72,7 +72,7 @@ in RuntimeDirectoryMode = "700"; SystemCallFilter = [ "@system-service" - "~@aio" "~@keyring" "~@memlock" "~@privileged" "~@resources" "~@setuid" "~@sync" "~@timer" + "~@aio" "~@keyring" "~@memlock" "~@privileged" "~@setuid" "~@sync" "~@timer" ]; SystemCallArchitectures = "native"; SystemCallErrorNumber = "EPERM";