Re: [chrony-dev] [PATCH] macOS 11.0 (Big Sur) beta - Bug in implementation of ntp_adjtime()

2020-08-31 Thread Miroslav Lichvar
On Sun, Aug 30, 2020 at 09:49:22AM +1200, Bryan Christianson wrote: > macOS 11.0 (Big Sur) beta incorrectly returns timex.freq as an unsigned > number. This patch is a workaround for the bug and should be removed when > Apple fix the problem (assuming they will). The patch also extends the >

[chrony-dev] [PATCH] macOS 11.0 (Big Sur) beta - Bug in implementation of ntp_adjtime()

2020-08-29 Thread Bryan Christianson
macOS 11.0 (Big Sur) beta incorrectly returns timex.freq as an unsigned number. This patch is a workaround for the bug and should be removed when Apple fix the problem (assuming they will). The patch also extends the ntpadjtime test to cover negative frequencies. --- sys_timex.c |