Dominique Leuenberger
2d84430c9b
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/940297 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=181
20 lines
648 B
Diff
20 lines
648 B
Diff
Index: colord-1.4.5/data/colord.service.in
|
|
===================================================================
|
|
--- colord-1.4.5.orig/data/colord.service.in
|
|
+++ colord-1.4.5/data/colord.service.in
|
|
@@ -10,3 +10,14 @@ User=@daemon_user@
|
|
# network namespacing is on.
|
|
# PrivateNetwork=yes
|
|
PrivateTmp=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
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|