fwupd/harden_fwupd-offline-update.service.patch
Dominique Leuenberger e01dba752b - Update to version 1.9.25:
+ This release fixes the following bugs:
    - Fix checking new Synaptics MST firmware size
    - Make another ModemManager instance ID visible for firmware
      matching
    - Never set a zero-length device name when matching the vendor
      name
    - Recalculate the device supported flag when reparenting
      devices
    - Reduce idle power consumption of paired logitech-hidpp
      devices
    - Retry the open action to fix BC901 NVMe reload
  + This release adds support for the following hardware:
    - Algoltek devices supporting sector erase
    - Dell K2 dock
    - Intel USB4 hub 5787
    - More MediaTek scaler devices
    - Nordic HID devices supporting DFUv1

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=193
2024-09-25 09:12:10 +00:00

22 lines
749 B
Diff

Index: fwupd-1.7.2/data/fwupd-offline-update.service.in
===================================================================
--- fwupd-1.7.2.orig/data/fwupd-offline-update.service.in
+++ fwupd-1.7.2/data/fwupd-offline-update.service.in
@@ -8,6 +8,16 @@ After=sysinit.target system-update-pre.t
Before=shutdown.target system-update.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
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=oneshot
ExecStart=@libexecdir@/fwupd/fwupdoffline
FailureAction=reboot