| 1 |
# The "strict" security profile for services, all options turned on |
| 2 |
|
| 3 |
[Service] |
| 4 |
MountAPIVFS=yes |
| 5 |
BindLogSockets=yes |
| 6 |
BindReadOnlyPaths=/etc/machine-id |
| 7 |
RemoveIPC=yes |
| 8 |
CapabilityBoundingSet= |
| 9 |
PrivateDevices=yes |
| 10 |
PrivateUsers=yes |
| 11 |
ProtectSystem=strict |
| 12 |
ProtectKernelTunables=yes |
| 13 |
ProtectKernelModules=yes |
| 14 |
ProtectControlGroups=yes |
| 15 |
RestrictAddressFamilies=AF_UNIX |
| 16 |
LockPersonality=yes |
| 17 |
NoNewPrivileges=yes |
| 18 |
MemoryDenyWriteExecute=yes |
| 19 |
RestrictRealtime=yes |
| 20 |
RestrictNamespaces=yes |
| 21 |
DelegateNamespaces=no |
| 22 |
SystemCallFilter=@system-service |
| 23 |
SystemCallErrorNumber=EPERM |
| 24 |
SystemCallArchitectures=native |
| 25 |
PrivateNetwork=yes |
| 26 |
IPAddressDeny=any |
| 27 |
TasksMax=4 |