Miroslav Lichvar pushed to branch master at chrony / chrony


Commits:
b32d85bc by Miroslav Lichvar at 2025-05-21T12:04:45+02:00
doc: improve description of server directive

- - - - -
391882dc by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
conf+cmdparse: parenthesize all macro arguments

- - - - -
eb08c3b0 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
doc: specify maximum accepted value of ntsprocesses

- - - - -
57722129 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
doc: warn about makestep not working with -x option

- - - - -
082af241 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
local+reference: fix tracking offset after failed step

If a clock step enabled by the makestep directive or requested by the
makestep command fails, accumulate the missing step back to keep the
tracking offset valid.

This fixes time served by an instance configured with the makestep
directive and the -x option (the null driver cannot perform steps) at
the same time. It will still generate error log messages.

- - - - -
545bd595 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
socket: drop messages from unterminated Unix paths

On some systems (e.g. FreeBSD) the source Unix domain socket path
provided by recvmsg() as msg_name is not always null-terminated even if
more space than required for sockaddr_un is provided due to the padding
in the sockaddr_all union, and the returned msg_namelen value does not
indicate it is missing the termination. If a cmdmon client bound its
socket to a maximum-length path (chronyc doesn't allow that), the path
would be overread when printing a debug message and trying to send a
response.

Drop messages from paths not shorter than sun_path to avoid working with
un-printf()able and/or unreachable addresses. The clients are expected
to not use the maximum-length paths.

- - - - -
bda2ff77 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
getdate+nts+rtc: avoid some coverity false positives

Modify the code to avoid making the following calls incorrectly reported
as important findings by the coverity static analyzer:

- memset() of size 0 at the end of an array
- mktime() on a struct tm that has uninitialized tm_yday

- - - - -
363aa868 by Miroslav Lichvar at 2025-05-21T12:41:13+02:00
doc: update README

- - - - -
09cd057c by Miroslav Lichvar at 2025-05-21T12:57:55+02:00
doc: update NEWS

- - - - -


12 changed files:

- NEWS
- README
- cmdparse.c
- conf.c
- doc/chrony.conf.adoc
- getdate.y
- local.c
- nts_ke_server.c
- reference.c
- rtc_linux.c
- socket.c
- test/simulation/128-nocontrol


View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/0bf7e4914817ffbb21c6bdc7cf04b6f76516d833...09cd057c2384113212295615eee0b43c35553f4c

-- 
View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/0bf7e4914817ffbb21c6bdc7cf04b6f76516d833...09cd057c2384113212295615eee0b43c35553f4c
You're receiving this email because of your account on gitlab.com.


Reply via email to