SHA256
1
0
forked from pool/frr
frr/harden_frr.service.patch

22 lines
631 B
Diff
Raw Normal View History

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