linux syscall into windows dll

Questions about Wine on Linux
Locked
DD1984
Newbie
Newbie
Posts: 1
Joined: Tue Oct 24, 2023 4:03 pm

linux syscall into windows dll

Post by DD1984 »

Hello
In my application i use direct linux kernel x64 syscall into windows dll (using asm) - the code is simple - opening unix socket and reading from it.
This solution worked fine, but it became unworkable in staging branch of wine 8.18, in development branch solution continue to work fine.
Error is that socket() syscall return strange value - 0xC0000002 - this do not look like return code of linux kernel - more like windows exception.
May be someone could give me starting point to debug.

if i use x86 int80 for syscall - socket() return normal value, but in 8.18-staging branch connect() begin to return error
Locked