Restrict namespaces for systemd services by default
This commit is contained in:
@@ -14,6 +14,7 @@ let
|
|||||||
ProtectKernelModules = "true";
|
ProtectKernelModules = "true";
|
||||||
ProtectControlGroups = "true";
|
ProtectControlGroups = "true";
|
||||||
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
||||||
|
RestrictNamespaces = "true";
|
||||||
LockPersonality = "true";
|
LockPersonality = "true";
|
||||||
IPAddressDeny = "any";
|
IPAddressDeny = "any";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user