6 Feb
2025
6 Feb
'25
12:31 p.m.
On Thu Feb 6 12:29:26 2025 +0000, Rémi Bernon wrote:
Although honestly I'm not sure if it's worth having an object for the linux device at all, if it's just about a `open( "/dev/ntsync", O_CLOEXEC | O_RDONLY )` call maybe clients could do it themselves and just keep a static fd. Nope, needs to be duplicated.
https://docs.kernel.org/next/userspace-api/ntsync.html#char-device
Each file description opened on the device represents a unique instance intended to back an individual NT virtual machine. Objects created by one ntsync instance may only be used with other objects created by the same instance.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7226#note_93885