25 lines
790 B
Diff
25 lines
790 B
Diff
|
Index: dnsmasq-2.85/contrib/systemd/dnsmasq.service
|
||
|
===================================================================
|
||
|
--- dnsmasq-2.85.orig/contrib/systemd/dnsmasq.service
|
||
|
+++ dnsmasq-2.85/contrib/systemd/dnsmasq.service
|
||
|
@@ -5,6 +5,19 @@ Before=network-online.target nss-lookup.
|
||
|
Wants=nss-lookup.target
|
||
|
|
||
|
[Service]
|
||
|
+# added automatically, for details please see
|
||
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||
|
+ProtectSystem=full
|
||
|
+ProtectHome=true
|
||
|
+PrivateDevices=true
|
||
|
+ProtectHostname=true
|
||
|
+ProtectClock=true
|
||
|
+ProtectKernelTunables=true
|
||
|
+ProtectKernelModules=true
|
||
|
+ProtectKernelLogs=true
|
||
|
+ProtectControlGroups=true
|
||
|
+RestrictRealtime=true
|
||
|
+# end of automatic additions
|
||
|
Type=dbus
|
||
|
BusName=uk.org.thekelleys.dnsmasq
|
||
|
ExecStartPre=/usr/sbin/dnsmasq --test
|