diff --git a/units/systemd-coredump@.service.in b/units/systemd-coredump@.service.in index f12b28d6a6b..18f2d2d605c 100644 --- a/units/systemd-coredump@.service.in +++ b/units/systemd-coredump@.service.in @@ -19,9 +19,19 @@ Before=shutdown.target ExecStart=-@rootlibexecdir@/systemd-coredump Nice=9 OOMScoreAdjust=500 +RuntimeMaxSec=5min +PrivateTmp=yes +PrivateDevices=yes PrivateNetwork=yes ProtectSystem=strict -RuntimeMaxSec=5min +ProtectHome=yes +ProtectControlGroups=yes +ProtectKernelTunables=yes +ProtectKernelModules=yes +MemoryDenyWriteExecute=yes +RestrictRealtime=yes +RestrictNamespaces=yes +RestrictAddressFamilies=AF_UNIX +SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap SystemCallArchitectures=native ReadWritePaths=/var/lib/systemd/coredump -ProtectKernelModules=yes