mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 10:15:06 -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
@@ -87,8 +87,8 @@ histories are created by using the <<chronyc.adoc#dump,*dump*>> command in
|
||||
directive in the configuration file. This option is useful if you want to stop
|
||||
and restart *chronyd* briefly for any reason, e.g. to install a new version.
|
||||
However, it should be used only on systems where the kernel can maintain clock
|
||||
compensation whilst not under *chronyd*'s control (i.e. Linux, FreeBSD, NetBSD
|
||||
and Solaris).
|
||||
compensation whilst not under *chronyd*'s control (i.e. Linux, FreeBSD, NetBSD,
|
||||
Solaris, and macOS 10.13 or later).
|
||||
|
||||
*-R*::
|
||||
When this option is used, the <<chrony.conf.adoc#initstepslew,*initstepslew*>>
|
||||
|
||||
Reference in New Issue
Block a user