Blame harden_2ping.service.patch
|
|
327033 |
Index: 2ping-4.5.1/2ping.service
|
|
|
327033 |
===================================================================
|
|
|
327033 |
--- 2ping-4.5.1.orig/2ping.service
|
|
|
327033 |
+++ 2ping-4.5.1/2ping.service
|
|
|
ba8929 |
@@ -30,6 +30,10 @@ RestrictAddressFamilies=AF_NETLINK AF_IN
|
|
|
327033 |
RestrictNamespaces=yes
|
|
|
327033 |
RestrictRealtime=yes
|
|
|
327033 |
RestrictSUIDSGID=yes
|
|
|
327033 |
+# added automatically, for details please see
|
|
|
327033 |
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
327033 |
+ProtectHostname=true
|
|
|
327033 |
+# end of automatic additions
|
|
|
327033 |
User=nobody
|
|
|
327033 |
|
|
|
327033 |
[Install]
|