fwupd/harden_fwupd-refresh.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

19 lines
677 B
Diff

Index: fwupd-1.9.10/data/motd/fwupd-refresh.service.in
===================================================================
--- fwupd-1.9.10.orig/data/motd/fwupd-refresh.service.in
+++ fwupd-1.9.10/data/motd/fwupd-refresh.service.in
@@ -14,5 +14,13 @@ SystemCallFilter=~@mount
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictRealtime=yes
+# 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
+# end of automatic additions
SuccessExitStatus=2
ExecStart=@bindir@/fwupdmgr refresh