-
911bd54d
by Miroslav Lichvar at 2026-01-26T12:33:12+01:00
rtc: check for gmtime()/localtime() error when setting RTC
Make sure the time conversion succeeded before using the result in
setting of the RTC.
-
b6f1650e
by Miroslav Lichvar at 2026-01-26T15:39:54+01:00
cmdmon: drop unused variable
-
91d6ccb1
by Miroslav Lichvar at 2026-01-29T09:51:27+01:00
local: require clock_gettime()
Make clock_gettime() a hard requirement of chrony. It should be
available on all reasonably recent versions of the supported systems.
This enables adoption of the clockid_t type (CLOCK_* identifiers).
-
b213719c
by Bryan Christianson at 2026-01-29T09:51:33+01:00
sys_macosx: remove clock_gettime() override function
This will also remove a call to gettimeofday() that was used on very
early versions of macOS where clock_gettime was not implemented.
-
c51c7f5a
by Miroslav Lichvar at 2026-01-29T09:51:33+01:00
client+test: switch from gettimeofday() to clock_gettime()
Replace the remaining calls of gettimeofday().
-
e313f5ab
by Miroslav Lichvar at 2026-01-29T09:51:33+01:00
privops: switch from settimeofday() to clock_settime()
Following the removal of gettimeofday() calls, change PRV_SetTime() to
use clock_settime() instead of settimeofday(). Only CLOCK_REALTIME is
supported for now.