mirror of
https://codeberg.org/icewind/evtype.git
synced 2026-06-03 09:34:11 +02:00
further systemd sandboxing
This commit is contained in:
parent
e87394e20b
commit
0dfa47f921
2 changed files with 33 additions and 13 deletions
|
|
@ -38,6 +38,12 @@ in {
|
|||
ProtectControlGroups = true;
|
||||
SystemCallArchitectures = "native";
|
||||
ProtectKernelModules = true;
|
||||
RestrictSUIDSGID = true;
|
||||
ProtectProc = "invisible";
|
||||
ProcSubset = "pid";
|
||||
PrivateUsers = true;
|
||||
DevicePolicy = "strict";
|
||||
DeviceAllow = ["/dev/uinput" "/dev/stdout"];
|
||||
RestrictNamespaces = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
ProtectHostname = true;
|
||||
|
|
@ -46,8 +52,10 @@ in {
|
|||
RestrictAddressFamilies = ["AF_UNIX"];
|
||||
RestrictRealtime = true;
|
||||
SystemCallFilter = ["@system-service" "~@resources" "~@privileged"];
|
||||
PrivateNetwork = true;
|
||||
IPAddressDeny = "any";
|
||||
RuntimeDirectory = "evtype";
|
||||
UMask = "0077";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue