nixos/croc: set proper SystemCallFilter

This commit is contained in:
MidAutumnMoon 2022-10-25 11:51:40 +08:00
parent 19b481fbc6
commit ba8041fc2b
No known key found for this signature in database
GPG key ID: 3B9D690FD7E4664A

View file

@ -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";