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";
|
SystemCallArchitectures = "native";
|
||||||
MemoryDenyWriteExecute = true;
|
MemoryDenyWriteExecute = true;
|
||||||
|
AmbientCapabilities = "";
|
||||||
|
PrivateMounts = true;
|
||||||
PrivateUsers = true;
|
PrivateUsers = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
@ -313,6 +314,7 @@ in
|
|||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
ProtectControlGroups = "strict";
|
ProtectControlGroups = "strict";
|
||||||
LockPersonality = true;
|
LockPersonality = true;
|
||||||
|
RemoveIPC = true;
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictSUIDSGID = true;
|
RestrictSUIDSGID = true;
|
||||||
RestrictNamespaces = true;
|
RestrictNamespaces = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user