Restrict namespaces for systemd services by default
This commit is contained in:
parent
eaaf8e9aab
commit
6f8dac6e07
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user