Re: [PATCH v15 0/6] MR7650: Add support for AF_UNIX sockets (followup)
15 Apr
2025
15 Apr
'25
7:50 a.m.
On Tue Apr 15 07:50:06 2025 +0000, Ralf Habacker wrote:
Here the `unix_fd` is saved for closing the file, which is -1 in the case of sockets. `unix_fd` is used in `inode_close_pending()`, `inode_destroy()`, `inode_add_closed_fd()`, `fd_destroy()` and `unmount_fd()` to close the file. In any of the mentioned location the call to close() is guarded with `if (fd->unix_fd != -1)`, so these function are already save the socket case.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7650#note_100886
246
Age (days ago)
246
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ralf Habacker (@rhabacker)