Unverified Commit 71ad9a34 authored by Felix Bühler's avatar Felix Bühler Committed by GitHub
Browse files

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

parents 269f1d62 79ab4bb4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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