mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 14:48:14 +00:00
nixos/mastodon/streaming: add '@memlock' SystemCallFilter
This commit is contained in:
parent
91e510ae22
commit
a71576b07b
@ -521,7 +521,7 @@ in {
|
||||
RuntimeDirectory = "mastodon-streaming";
|
||||
RuntimeDirectoryMode = "0750";
|
||||
# System Call Filtering
|
||||
SystemCallFilter = [ ("~" + lib.concatStringsSep " " (systemCallsList ++ [ "@resources" ])) "pipe" "pipe2" ];
|
||||
SystemCallFilter = [ ("~" + lib.concatStringsSep " " (systemCallsList ++ [ "@memlock" "@resources" ])) "pipe" "pipe2" ];
|
||||
} // cfgService;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user