forked from pool/osmo-iuh
Jan Engelhardt
ff10a6d127
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/925124 OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=30
23 lines
757 B
Diff
23 lines
757 B
Diff
Index: osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
|
|
===================================================================
|
|
--- osmo-iuh-0.7.0.orig/contrib/systemd/osmo-hnbgw.service
|
|
+++ osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
|
|
@@ -2,6 +2,17 @@
|
|
Description=Osmocom Home Nodeb Gateway (OsmoHNBGW)
|
|
|
|
[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
|
|
Restart=always
|
|
ExecStart=/usr/bin/osmo-hnbgw -c /etc/osmocom/osmo-hnbgw.cfg
|