2021-10-08 16:29:48 +00:00
|
|
|
--- examples/chronyd.service.orig
|
|
|
|
+++ examples/chronyd.service
|
|
|
|
@@ -18,6 +18,15 @@ ExecStartPost=@CHRONY_HELPER@ update-dae
|
2021-09-04 15:06:47 +00:00
|
|
|
PrivateTmp=yes
|
|
|
|
ProtectHome=yes
|
|
|
|
ProtectSystem=full
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+DeviceAllow=char-rtc
|
2021-10-08 16:29:48 +00:00
|
|
|
+DeviceAllow=char-ptp
|
2021-09-04 15:06:47 +00:00
|
|
|
+# end of automatic additions
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|