On Fri Oct 21 23:19:45 2022 +0000, Hans Leidekker wrote:
> We should move conversion of the sockaddr structures to the Unix side.
> That way we can get the definitions from the Unix headers, though we
> still need to allocate memory for the structures on the PE side.
To leave the allocation on the PE side I left the sockaddr duplication more or less untouched and fix up the input address on the Unix side before.
I hope this is alright (seemed to work fine during testing at least)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1015#note_11774
I haven't seen any software that uses this, but some older software out there might use it, so it's good idea to export it.
--
v3: ntoskrnl.exe: add KeNumberProcessors export.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1139