21 lines
712 B
Diff
21 lines
712 B
Diff
|
Index: fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
||
|
===================================================================
|
||
|
--- fcoe-utils-1.0.34.orig/etc/systemd/fcoe.service
|
||
|
+++ fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
||
|
@@ -3,6 +3,15 @@ Description=Open-FCoE initiator daemon
|
||
|
After=syslog.target 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
|
||
|
+ProtectKernelLogs=true
|
||
|
+ProtectControlGroups=true
|
||
|
+RestrictRealtime=true
|
||
|
+# end of automatic additions
|
||
|
Type=simple
|
||
|
EnvironmentFile=/etc/fcoe/config
|
||
|
ExecStartPre=/sbin/modprobe -qa $SUPPORTED_DRIVERS
|