Re: ntsync(9)
- In reply to: Maxim Sobolev : "Re: ntsync(9)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 May 2026 23:56:34 UTC
On Sun, May 17, 2026 at 03:41:26PM -0700, Maxim Sobolev wrote: > Nice. Adding some even minimal ntsync.9 would probably be good. Also, does > this need to be exposed via linux(9) somehow or will it work verbatim with > Linux binaries? > For linuxolator, some translation layer is needed. At least, the ioctl command numbers are differrent. It seems that the structures are identical, since they coincide with the definitions found in Linux' ntsync.rst. > On Sun, May 17, 2026, 2:47 p.m. Konstantin Belousov <kib@freebsd.org> wrote: > > > Hello, > > since the recent hype around ntsync driver for Linux, written no less than > > 'Linux incorporates Windows features', I decided that FreeBSD should > > support the trend. Useful technical summary is available at > > https://fedoraproject.org/wiki/Changes/NTSYNC-Contained > > > > Apparently, there is some documentation > > https://docs.kernel.org/userspace-api/ntsync.html > > (which mis-spells ioctl names), and the test suite that seems to be > > more useful. > > > > FreeBSD port of the test suite can be found at > > https://github.com/kostikbel/freebsd-ntsync-test > > and the FreeBSD driver implementation at > > https://reviews.freebsd.org/D57038 > > > > This is a clean-room implementation, I did not read GPL-ed code. > > I used the documentation as reference, and ensured that the test suite > > passes fully. Amusingly, there was one test that contained bug in > > the check. > > > >