diff --git a/ptpd.changes b/ptpd.changes index 1da5af5..985001c 100644 --- a/ptpd.changes +++ b/ptpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 20 14:32:53 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * ptpd2.service + ------------------------------------------------------------------- Wed Aug 19 09:08:14 UTC 2020 - Dominique Leuenberger diff --git a/ptpd2.service b/ptpd2.service index 2a112e1..6822f35 100644 --- a/ptpd2.service +++ b/ptpd2.service @@ -2,6 +2,16 @@ Description=ptpd time precision daemon [Service] +# 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 +# end of automatic additions Type=forking EnvironmentFile=-/etc/sysconfig/ptpd2 ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS