nixos/mastodon/streaming: add '@memlock' SystemCallFilter

This commit is contained in:
Izorkin 2021-05-12 11:41:11 +03:00 committed by Kerstin
parent 91e510ae22
commit a71576b07b

View file

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