mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 10:15:07 -05:00
sys_macosx: add support for ntp_adjtime() on macOS 10.13+
macOS 10.13 will implement the ntp_adjtime() system call, allowing better control over the system clock than is possible with the existing adjtime() system call. chronyd will support both the older and newer calls, enabling binary code to run without recompilation on macOS 10.9 through macOS 10.13. Early releases of macOS 10.13 have a very buggy adjtime() call. The macOS driver tests adjtime() to see if the bug has been fixed. If the bug persists then the timex driver is invoked otherwise the netbsd driver.
This commit is contained in:
committed by
Miroslav Lichvar
parent
778fce4039
commit
ccb94ac5fb
Reference in New Issue
Block a user