forked from pool/fwupd
e911b64f10
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/925357 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=107
19 lines
674 B
Diff
19 lines
674 B
Diff
Index: fwupd-1.6.2/data/motd/fwupd-refresh.service.in
|
|
===================================================================
|
|
--- fwupd-1.6.2.orig/data/motd/fwupd-refresh.service.in
|
|
+++ fwupd-1.6.2/data/motd/fwupd-refresh.service.in
|
|
@@ -13,5 +13,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
|