On Sun Feb 16 15:31:16 2025 +0000, Vasiliy Stelmachenok wrote:
Sorry for the bother, you may already know this, but commit https://gitlab.winehq.org/wine/wine/-/commit/3c29dc1eb86cbe96697193cf6799373... breaks NTSync. It does not create descriptors to ``/dev/ntsync`` by processes other than wineserver. With ``WINEDEBUG=+server`` following messages appear despite correct permissions to the ``/dev/ntsync`` file:
0024: get_linux_sync_device( ) 0024: get_linux_sync_device( ) = ACCESS_DENIED { handle=0000 } 002c: get_linux_sync_device( ) 002c: get_linux_sync_device( ) = ACCESS_DENIED { handle=0000 } 003c: get_linux_sync_device( )
After revert the specified commit, everything works. Thanks!
Does replacing `alloc_handle()` call with `alloc_handle_no_access_check()` in `get_linux_sync_device()` help with the issue?