SHA256
1
0
forked from pool/dbxtool
Files
dbxtool/harden_dbxtool.service.patch

22 lines
701 B
Diff

Index: dbxtool-8/src/dbxtool.service
===================================================================
--- dbxtool-8.orig/src/dbxtool.service
+++ dbxtool-8/src/dbxtool.service
@@ -6,5 +6,16 @@ ConditionPathExists=/sys/firmware/efi/ef
WantedBy=multi-user.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
RemainAfterExit=yes
ExecStart=/usr/bin/dbxtool -a /usr/share/dbxtool/ -q -f