module.nix: relax hardening
This commit is contained in:
parent
9934b11766
commit
355d2ad13d
14
module.nix
14
module.nix
|
@ -135,18 +135,20 @@ in
|
||||||
ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
ProtectProc = "invisible";
|
ProtectProc = "invisible";
|
||||||
ProtectSystem = "full";
|
# I'll figure it out sometime
|
||||||
|
# ProtectSystem = "full";
|
||||||
RemoveIPC = true;
|
RemoveIPC = true;
|
||||||
UMask = "0077";
|
UMask = "0077";
|
||||||
RestrictNamespaces = true;
|
RestrictNamespaces = true;
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictSUIDSGID = true;
|
RestrictSUIDSGID = true;
|
||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
SystemCallFilter = [
|
# Something brokey
|
||||||
"@system-service"
|
# SystemCallFilter = [
|
||||||
"~@privileged"
|
# "@system-service"
|
||||||
"~@resources"
|
# "~@privileged"
|
||||||
];
|
# "~@resources"
|
||||||
|
# ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue