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/911242 OBS-URL: https://build.opensuse.org/package/show/network:utilities/2ping?expand=0&rev=31
17 lines
518 B
Diff
17 lines
518 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,11 @@ 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
|
|
+ProtectClock=true
|
|
+# end of automatic additions
|
|
User=nobody
|
|
|
|
[Install]
|