mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/anubis: Apply some more hardening settings
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
c9b1eb70c6
commit
959c8e9311
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue