nixos/anubis: Apply some more hardening settings
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
c9b1eb70c6
commit
959c8e9311
@ -299,7 +299,8 @@ in
|
||||
];
|
||||
SystemCallArchitectures = "native";
|
||||
MemoryDenyWriteExecute = true;
|
||||
|
||||
AmbientCapabilities = "";
|
||||
PrivateMounts = true;
|
||||
PrivateUsers = true;
|
||||
PrivateTmp = true;
|
||||
PrivateDevices = true;
|
||||
@ -313,6 +314,7 @@ in
|
||||
ProtectSystem = "strict";
|
||||
ProtectControlGroups = "strict";
|
||||
LockPersonality = true;
|
||||
RemoveIPC = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
RestrictNamespaces = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user