[chrony-dev] [Git][chrony/chrony][master] 6 commits: test: add 152-maxtxbuffers test

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


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 662484cd
    by Miroslav Lichvar at 2025-11-18T16:47:32+01:00
    test: add 152-maxtxbuffers test
    
  • 0fec9e5c
    by Miroslav Lichvar at 2025-11-19T14:30:02+01:00
    cmdmon: refactor handling of sources report
    
    The NSR_ReportSource() and RCL_ReportSource() functions assume that the
    provided report already has some data prefilled by SRC_ReportSource()
    and it's assumed these functions cannot fail.
    
    Change them to accept the required data (refid and IP address) as
    a parameter, remove unneeded parameters, and return an error status
    (if the refid/address doesn't exist) to be handled in cmdmon
    handle_source_data(). Also, catch unexpected values of the source state
    and mode to make chronyc report an error instead of incorrect data.
    
  • 42e7a7ae
    by Miroslav Lichvar at 2025-11-20T10:22:45+01:00
    fix -Wshadow warnings
    
    Rename variables to avoid conflicts in naming of local and global
    variables.
    
  • b86c9d9c
    by Miroslav Lichvar at 2025-11-20T10:22:45+01:00
    configure: add -Wshadow to gcc/clang-specific CFLAGS
    
  • 8a2a1dab
    by Miroslav Lichvar at 2025-11-20T10:22:45+01:00
    sys_linux: stop sticking ticks as workaround for old kernels
    
    Drop the old workaround avoiding small changes in ticks needed to avoid
    frequency steps due to inexact scaling of frequency vs ticks in kernels
    before 2.6.18. chrony doesn't support such old kernels anymore.
    
  • 73f6657d
    by Miroslav Lichvar at 2025-11-20T10:22:58+01:00
    sys_linux: drop dhz variable
    
    Avoid keeping the system USER_HZ in two variables as an int and a
    double. The integer value is not really needed. Replace sys_hz with dhz.
    

18 changed files:



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