Date: Sun, 17 May 2026 15:41:26 -0700 From: Maxim Sobolev <sobomax@freebsd.org> To: Konstantin Belousov <kib@freebsd.org> Cc: current <current@freebsd.org>, Gerald Pfeifer <gerald@freebsd.org> Subject: Re: ntsync(9) Message-ID: <CAH7qZfts7xou_Q0OW=p9KUCpn98507Yb9YCNh4%2Bh2Q%2BpMGh4GQ@mail.gmail.com> In-Reply-To: <ago3VFazRQX5gp5E@kib.kiev.ua>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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? -Max 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. > > [-- Attachment #2 --] <div dir="auto"><div><div>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?</div><div dir="auto"><br></div><div dir="auto">-Max</div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, May 17, 2026, 2:47 p.m. Konstantin Belousov <<a href="mailto:kib@freebsd.org">kib@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br> since the recent hype around ntsync driver for Linux, written no less than<br> 'Linux incorporates Windows features', I decided that FreeBSD should<br> support the trend. Useful technical summary is available at<br> <a href="https://fedoraproject.org/wiki/Changes/NTSYNC-Contained" rel="noreferrer noreferrer" target="_blank">https://fedoraproject.org/wiki/Changes/NTSYNC-Contained</a><br> <br> Apparently, there is some documentation <br> <a href="https://docs.kernel.org/userspace-api/ntsync.html" rel="noreferrer noreferrer" target="_blank">https://docs.kernel.org/userspace-api/ntsync.html</a><br> (which mis-spells ioctl names), and the test suite that seems to be<br> more useful.<br> <br> FreeBSD port of the test suite can be found at<br> <a href="https://github.com/kostikbel/freebsd-ntsync-test" rel="noreferrer noreferrer" target="_blank">https://github.com/kostikbel/freebsd-ntsync-test</a><br> and the FreeBSD driver implementation at<br> <a href="https://reviews.freebsd.org/D57038" rel="noreferrer noreferrer" target="_blank">https://reviews.freebsd.org/D57038</a><br> <br> This is a clean-room implementation, I did not read GPL-ed code.<br> I used the documentation as reference, and ensured that the test suite<br> passes fully. Amusingly, there was one test that contained bug in<br> the check.<br> <br> </blockquote></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZfts7xou_Q0OW=p9KUCpn98507Yb9YCNh4%2Bh2Q%2BpMGh4GQ>
