1ff1676d67
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/919470 OBS-URL: https://build.opensuse.org/package/show/network/frr?expand=0&rev=32
22 lines
631 B
Diff
22 lines
631 B
Diff
Index: frr-frr-7.5.1/tools/frr.service
|
|
===================================================================
|
|
--- frr-frr-7.5.1.orig/tools/frr.service
|
|
+++ frr-frr-7.5.1/tools/frr.service
|
|
@@ -7,6 +7,16 @@ Before=network.target
|
|
OnFailure=heartbeat-failed@%n.service
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectClock=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Nice=-5
|
|
Type=forking
|
|
NotifyAccess=all
|