struct timex and Linux adjtimex()

Konstantin Belousov kostikbel at gmail.com
Thu Dec 3 22:04:35 UTC 2020


On Thu, Dec 03, 2020 at 08:15:27PM +0000, Poul-Henning Kamp wrote:

So regardless of the outcome of the ADJ_SETOFFSET discussion.

As I noted earlier, compat32 for ntp_adjtime(2) is provided but is completely
broken.  Fixing it in usual manner means adding kern_ntp_adjtime(9) KPI,
and using it in compat shims.  The same restructuring would be needed before
new ntp_adjtime() can be implemented, if it ever be.

So I went ahead with kern_ntp_adjtime(9) and compat32, I added
the participants of this thread as reviewers.
https://reviews.freebsd.org/D27471


More information about the freebsd-arch mailing list