git: 66feafd5df - main - ntsync(9) report

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 12 Jul 2026 14:25:43 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/doc/commit/?id=66feafd5df132bd49618f2a3f57e8e6182eeb5fc

commit 66feafd5df132bd49618f2a3f57e8e6182eeb5fc
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-09 01:14:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-12 14:25:17 +0000

    ntsync(9) report
    
    Reviewed by:    salvadore
    Sponsored by:   The FreeBSD Foundation
    Differential revision:  https://reviews.freebsd.org/D57932
---
 .../en/status/report-2026-04-2026-06/ntsync.adoc        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/website/content/en/status/report-2026-04-2026-06/ntsync.adoc b/website/content/en/status/report-2026-04-2026-06/ntsync.adoc
new file mode 100644
index 0000000000..bd1beb8086
--- /dev/null
+++ b/website/content/en/status/report-2026-04-2026-06/ntsync.adoc
@@ -0,0 +1,17 @@
+=== NTSYNC(9)
+
+Contact: Konstantin Belousov <kib@FreeBSD.org>
+
+Recently there was a stream of articles hyping the Linux driver ntsync which implemented a helper for Wine to accelerate Windows NT synchronization primitives.
+The substrates to implement semaphores, mutexes, and events from the Win32 land are provided by it.
+The driver represents each NT object as a file descriptor, which has the set of the ioctls defined that directly map into the Win32 operations.
+
+The project implemented the driver providing the compatible ntsync interface as specified in the Linux 7.0-rc3 document Documentation/userspace-api/ntsync.rst.
+Both native FreeBSD interface, and the Linu ABI compatibility layers, are written.
+
+To test the driver, a minimal version of the Linux kernel test harness was ported.
+FreeBSD driver follows the interface details as encoded by the tests, when a discrepancy between Linux documentation and tests was found.
+
+Both the driver and its man page man:ntsync(4) were written from scratch, without consulting the Linux source code.
+
+Sponsor: The FreeBSD Foundation