service hardening: add more restrictions
Add RestrictSUIDSGID Add RemoveIPC Add RestrictRealtime Add ProtectHostname
This commit is contained in:
parent
3fbfa98635
commit
ccc3a70344
@ -21,6 +21,10 @@ with lib;
|
||||
LockPersonality = "true";
|
||||
IPAddressDeny = "any";
|
||||
PrivateUsers = "true";
|
||||
RestrictSUIDSGID = "true";
|
||||
RemoveIPC = "true";
|
||||
RestrictRealtime = "true";
|
||||
ProtectHostname = "true";
|
||||
CapabilityBoundingSet = "";
|
||||
# @system-service whitelist and docker seccomp blacklist (except for "clone"
|
||||
# which is a core requirement for systemd services)
|
||||
|
Loading…
Reference in New Issue
Block a user