diff --git a/thttpd.changes b/thttpd.changes index 137d16d..93f13c1 100644 --- a/thttpd.changes +++ b/thttpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 24 15:13:25 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * thttpd.service + ------------------------------------------------------------------- Thu May 14 08:42:14 UTC 2020 - Vítězslav Čížek diff --git a/thttpd.service b/thttpd.service index 27e1604..4529bab 100644 --- a/thttpd.service +++ b/thttpd.service @@ -2,6 +2,19 @@ Description=Tiny HTTP Daemon [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 PIDFile=/run/thttpd.pid ExecStart=/usr/sbin/thttpd -D -C /etc/thttpd.conf Restart=always