[chrony-dev] [Git][chrony/chrony][master] 11 commits: sys_linux: allow clock_settime64 in seccomp filter

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


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 50bbdaa0
    by Miroslav Lichvar at 2026-06-23T12:02:33+02:00
    sys_linux: allow clock_settime64 in seccomp filter
    
    Following the normal and 64-bit-specific variant pairs of clock_adjtime
    and clock_gettime, add the 64-bit variant of clock_settime to the
    seccomp filter.
    
    Fixes: e313f5abf7b4 ("privops: switch from settimeofday() to clock_settime()")
    
  • 276c446d
    by Miroslav Lichvar at 2026-06-23T12:03:05+02:00
    test: fix random IP address generation in clientlog unit test
    
    Fixes: 8cd87bdf3a03 ("clientlog: optimize get_record()")
    
  • 350ee548
    by Miroslav Lichvar at 2026-06-30T09:14:36+02:00
    privops+sys_openbsd: set errno in PRV_SetTime()/clock_settime()
    
    If the requested clock is not supported by the privops helper or the
    redirection to settimeofday() (i.e. not CLOCK_REALTIME), set errno to
    EINVAL for consistency.
    
  • dbd4775a
    by Miroslav Lichvar at 2026-06-30T09:14:36+02:00
    main: don't close -N descriptor after forking
    
    While this is not the expected use case, avoid closing the s6-style
    notification file descriptor specified by the -N option after forking to
    make it work even without the -d or -n option.
    
    Fixes: 866bedef0b64 ("main: add -N option for s6-style service readiness notification")
    
  • c2716c6c
    by Miroslav Lichvar at 2026-06-30T09:14:36+02:00
    client: improve handling of variable-width specifier
    
    Improve print_report() to accept the '*' width specifier for all
    conversions, not only strings. Allow combining with a sign (e.g.
    "%-*s"), but don't allow combining with digits to avoid confusion
    with the printf-style reference to m-th argument.
    
  • d6cc3c55
    by Miroslav Lichvar at 2026-06-30T09:14:36+02:00
    socket: don't set timestamp tx_id on unknown extended errors
    
    Avoid setting the message transmit ID in process_header() if an
    unexpected extended error is found. The value was ignored as the
    function indicates an error in this case, but make the code clear.
    
    Fixes: 4507359952b4 ("socket: add support for Linux timestamping transmit IDs")
    
  • 8c947e6d
    by Miroslav Lichvar at 2026-06-30T09:19:21+02:00
    configure: drop --without-clock-gettime option
    
    clock_gettime() is now a hard requirement. Remove the
    --without-clock-gettime option from the configure script to avoid
    allowing the build to fail.
    
  • d711e9e5
    by Miroslav Lichvar at 2026-06-30T09:19:34+02:00
    util: add functions to check timespec and timeval normality
    
  • f2632909
    by Miroslav Lichvar at 2026-06-30T09:19:34+02:00
    refclock: validate normality of SHM and SOCK timestamps
    
    In the SHM and SOCK refclock drivers verify that received timestamps are
    normal (microseconds and nanoseconds are in the expected range) to avoid
    undefined behavior in their conversion and normalization.
    
  • f4443e9a
    by Miroslav Lichvar at 2026-06-30T09:19:34+02:00
    doc: clarify hwtimestamp precision option
    
  • 34c451be
    by Miroslav Lichvar at 2026-06-30T09:19:34+02:00
    doc: fix AsciiDoc formatting in opencommands description
    
    Fixes: a6e7c9e13f06 ("doc: fix list of open commands enabled by default")
    

14 changed files:



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