File harden_atopgpu.service.patch of Package atop
Index: atop-2.10.0/atopgpu.service =================================================================== --- atop-2.10.0.orig/atopgpu.service +++ atop-2.10.0/atopgpu.service @@ -5,6 +5,19 @@ After=syslog.target Before=atop.service [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions ExecStart=/usr/sbin/atopgpud Type=oneshot RemainAfterExit=yes