24 lines
735 B
Diff
24 lines
735 B
Diff
Index: mcstrans-3.5/src/mcstrans.service
|
|
===================================================================
|
|
--- mcstrans-3.5.orig/src/mcstrans.service
|
|
+++ mcstrans-3.5/src/mcstrans.service
|
|
@@ -7,7 +7,17 @@ Before=shutdown.target sysinit.target
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
-ExecStart=/sbin/mcstransd -f
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
+ExecStart=/usr/sbin/mcstransd -f
|
|
RuntimeDirectory=setrans
|
|
RuntimeDirectoryPreserve=true
|
|
|