File harden_osmo-gtphub.service.patch of Package osmo-sgsn
Index: osmo-sgsn-1.6.2/contrib/systemd/osmo-gtphub.service =================================================================== --- osmo-sgsn-1.6.2.orig/contrib/systemd/osmo-gtphub.service +++ osmo-sgsn-1.6.2/contrib/systemd/osmo-gtphub.service @@ -2,6 +2,17 @@ Description=Osmocom GTP Hub [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=simple ExecStart=/usr/bin/osmo-gtphub -c /etc/osmocom/osmo-gtphub.cfg Restart=always