mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-11-13 21:31:34 -05:00
19 lines
588 B
Plaintext
19 lines
588 B
Plaintext
|
[Service]
|
||
|
MemoryDenyWriteExecute=true
|
||
|
PrivateDevices=true
|
||
|
PrivateTmp=true
|
||
|
ProtectHome=true
|
||
|
ProtectClock=true
|
||
|
ProtectControlGroups=true
|
||
|
ProtectKernelLogs=true
|
||
|
ProtectKernelModules=true
|
||
|
# This breaks using socket options like 'so-rcvbuf'. Explicitly disable for visibility.
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectProc=invisible
|
||
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
|
||
|
RestrictRealtime=true
|
||
|
SystemCallArchitectures=native
|
||
|
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module mount @obsolete @resources
|
||
|
RestrictNamespaces=yes
|
||
|
LockPersonality=yes
|
||
|
RestrictSUIDSGID=yes
|