forked from pool/dbxtool
- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925451 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbxtool?expand=0&rev=8
22 lines
701 B
Diff
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
|