[chrony-dev] [Git][chrony/chrony][master] 9 commits: doc: improve description of server directive

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

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:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/