1
0
mirror of https://github.com/HorlogeSkynet/systemd-hardene.d.git synced 2026-06-27 04:00:13 +02:00
Files
systemd-hardene.d/collection/iwd.service.d/00-hardened.conf

29 lines
521 B
Plaintext

[Service]
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateBPF=yes
PrivateMounts=yes
PrivateTmp=yes
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=strict
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
LockPersonality=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@resources @privileged