servo: lemmy/lemmy-ui: harden the service with a syscall filter
This commit is contained in:
@@ -132,7 +132,7 @@ in {
|
|||||||
serviceConfig.RestrictNamespaces = true;
|
serviceConfig.RestrictNamespaces = true;
|
||||||
serviceConfig.RestrictSUIDSGID = true;
|
serviceConfig.RestrictSUIDSGID = true;
|
||||||
serviceConfig.SystemCallArchitectures = "native";
|
serviceConfig.SystemCallArchitectures = "native";
|
||||||
# serviceConfig.SystemCallFilter = [ "@system-service" ]; #< TODO: this crashes; it needs more
|
serviceConfig.SystemCallFilter = [ "@system-service" "@pkey" "@sandbox" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#v DO NOT REMOVE: defaults to 0.3, instead of latest, so always need to explicitly set this.
|
#v DO NOT REMOVE: defaults to 0.3, instead of latest, so always need to explicitly set this.
|
||||||
|
Reference in New Issue
Block a user