nixos/geoipupdate: set proper SystemCallFilter

This commit is contained in:
MidAutumnMoon 2022-10-25 16:45:49 +08:00
parent 4fffb0e5fe
commit f4342c11e5
No known key found for this signature in database
GPG Key ID: 3B9D690FD7E4664A

View File

@ -197,7 +197,7 @@ in
ProtectKernelTunables = true;
ProtectProc = "invisible";
ProcSubset = "pid";
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
SystemCallFilter = [ "@system-service" "~@privileged" ];
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
RestrictRealtime = true;
RestrictNamespaces = true;