Jan Engelhardt
4d85993bc7
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/923290 OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=47
25 lines
846 B
Diff
25 lines
846 B
Diff
Index: libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
|
===================================================================
|
|
--- libosmo-sccp-1.4.0.orig/contrib/systemd/osmo-stp.service
|
|
+++ libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
|
@@ -3,6 +3,19 @@ Description=Osmocom STP (Signal Transfer
|
|
Documentation=https://osmocom.org/projects/osmo-stp/wiki
|
|
|
|
[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
|
|
Type=simple
|
|
Restart=always
|
|
ExecStart=/usr/bin/osmo-stp -c /etc/osmocom/osmo-stp.cfg
|