- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925443 OBS-URL: https://build.opensuse.org/package/show/network:utilities/2ping?expand=0&rev=32
16 lines
499 B
Diff
16 lines
499 B
Diff
Index: 2ping-4.5.1/2ping.service
|
|
===================================================================
|
|
--- 2ping-4.5.1.orig/2ping.service
|
|
+++ 2ping-4.5.1/2ping.service
|
|
@@ -30,6 +30,10 @@ RestrictAddressFamilies=AF_NETLINK AF_IN
|
|
RestrictNamespaces=yes
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHostname=true
|
|
+# end of automatic additions
|
|
User=nobody
|
|
|
|
[Install]
|