nixos/unit: update sandboxing options
This commit is contained in:
parent
d56514c76a
commit
26898b8518
1 changed files with 3 additions and 0 deletions
|
@ -120,9 +120,12 @@ in {
|
|||
ProtectHome = true;
|
||||
PrivateTmp = true;
|
||||
PrivateDevices = true;
|
||||
PrivateUsers = false;
|
||||
ProtectHostname = true;
|
||||
ProtectClock = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectControlGroups = true;
|
||||
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ];
|
||||
LockPersonality = true;
|
||||
|
|
Loading…
Reference in a new issue