forked from pool/elfutils
ac8bf68b1e
OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=afe93b46a24cd7ec01f36e9d694141c3
25 lines
811 B
Diff
25 lines
811 B
Diff
Index: elfutils-0.185/config/debuginfod.service
|
|
===================================================================
|
|
--- elfutils-0.185.orig/config/debuginfod.service
|
|
+++ elfutils-0.185/config/debuginfod.service
|
|
@@ -12,6 +12,19 @@ ExecStart=/usr/bin/debuginfod -d /var/ca
|
|
# Stopping can take a long time if scanning of large archives is in progress
|
|
TimeoutStopSec=60
|
|
PrivateTmp=yes
|
|
+# 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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|