File harden_llmnrd.service.patch of Package llmnrd

Index: llmnrd-0.7/etc/llmnrd.service
===================================================================
--- llmnrd-0.7.orig/etc/llmnrd.service
+++ llmnrd-0.7/etc/llmnrd.service
@@ -3,6 +3,17 @@ Description=Link-Local Multicast Name Re
 After=network.target
 
 [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
 ExecStart=/usr/sbin/llmnrd
 Restart=on-failure
openSUSE Build Service is sponsored by