]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys_macosx: add support for ntp_adjtime() on macOS 10.13+
authorBryan Christianson <bryan@whatroute.net>
Thu, 13 Jul 2017 00:18:02 +0000 (12:18 +1200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 13 Jul 2017 14:10:54 +0000 (16:10 +0200)
commitccb94ac5fbc84c04986eedda3b23196aaa64e4fb
treecb2c102052d6081c4d3a044c97f0130bb5ab1a7e
parent778fce4039e1763f9da367a97a53446d28810f1c
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.
configure
doc/chrony.conf.adoc
doc/chronyd.adoc
sys_macosx.c
sysincl.h