File harden_transmission-daemon.service.patch of Package transmission
Index: transmission-3.00/daemon/transmission-daemon.service
===================================================================
--- transmission-3.00.orig/daemon/transmission-daemon.service
+++ transmission-3.00/daemon/transmission-daemon.service
@@ -3,6 +3,18 @@ Description=Transmission BitTorrent Daem
After=network.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
User=transmission
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error