May 15, 2026
6:14 p.m.
Hm, yes, it seems possible. We could of course do is_valid_socket() on request socket (I all the other sockets being polled are handled inside the ioctl handling and that part is responsible for returning proper status in this case). But IMO it is better to avoid an extra ioctl and check status instead, maybe add STATUS_INVALID_DEVICE_REQUEST to the same check? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10894#note_140068