This approach uses the fact that we can obtain a valid and consistent inode for the socket file, without needing a file descriptor. This is sufficient for wineserver to delete the file, which appears to be the only valid operation on socket files that flows through `open_fd`, without needing to modify its file deletion logic.
Previously, I came across Linux's `O_PATH` flag for `open`, which does work here, but it is exclusive to Linux and FreeBSD.