3 Jun
2023
3 Jun
'23
10:54 p.m.
On Fri May 19 16:50:44 2023 +0000, Zebediah Figura wrote:
I still don't understand the issue. The sockaddr we pass to the server is already variable-sized. It's passed as variable-sized input data, using the "ioctl" request, with the code IOCTL_AFD_BIND. Why is sockaddr_un any different from sockaddr_in? The sockaddr passed to the server is indeed variably-sized, but the size for it is set in ws2_32, not ntdll. I am sure that it could be done in ntdll, but as every other function that calls through to `sock_ioctl` sets the vararg size itself, I feel that it is best handled in ws2_32.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_34575