nixos/redmine: Apply more hardening options (#449140)

This commit is contained in:
Felix Bühler
2025-10-07 23:30:22 +02:00
committed by GitHub

View File

@@ -461,10 +461,12 @@ in
CapabilityBoundingSet = "";
LockPersonality = true;
MemoryDenyWriteExecute = true;
MountAPIVFS = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateMounts = true;
PrivateTmp = true;
PrivateUsers = true;
ProcSubset = "pid";
ProtectClock = true;
ProtectControlGroups = "strict";
@@ -473,7 +475,7 @@ in
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "noaccess";
ProtectProc = "invisible";
ProtectSystem = "strict";
ReadWritePaths = [
cfg.stateDir