Dominique Leuenberger
0750c065b5
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/923286 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=55
25 lines
840 B
Diff
25 lines
840 B
Diff
Index: openSUSE-appstream-1.0.1+git.20180426/appstream-sync-cache.service
|
|
===================================================================
|
|
--- openSUSE-appstream-1.0.1+git.20180426.orig/appstream-sync-cache.service
|
|
+++ openSUSE-appstream-1.0.1+git.20180426/appstream-sync-cache.service
|
|
@@ -4,6 +4,19 @@ After=local-fs.target
|
|
ConditionDirectoryNotEmpty=!/var/cache/app-info/xmls
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=forking
|
|
ExecStart=/usr/bin/zypper appstream-cache
|
|
|