Commit graph

12 commits

Author SHA1 Message Date
Mathieu Trossevin 0ce9662f52
Better documentation 2024-01-08 11:25:17 +01:00
Mathieu Trossevin c142afbc2c
Start adding support for NOTIFY_SOCKET 2023-12-08 14:46:54 +01:00
Mathieu Trossevin bf2091bb63
Move LISTEN_FD support to a feature 2023-12-08 12:54:41 +01:00
Mathieu Trossevin 7e8f706a1d
Add possibility to receive without duplicating the fds
This is unsafe for roughly the same reasons as `OwnedFd::from_raw_fd`.

Technically the duplication is also unsafe as it is theorically possible
that the fd will be closed before being taken but fcntl should error out
in this case so we can safely ignore that.
2023-12-08 10:11:38 +01:00
Mathieu Trossevin da5aba2882
Revert "Don't duplicate FDs if we are reasonably certain that it isn't needed."
This reverts commit 4485c1f034.
2023-12-08 08:53:19 +01:00
Mathieu Trossevin 4485c1f034 Don't duplicate FDs if we are reasonably certain that it isn't needed. 2023-12-07 22:11:56 +01:00
Mathieu Trossevin 33aabb14d7 Somewhat reduce size of allocation of receive_with_names 2023-12-07 22:01:17 +01:00
Mathieu Trossevin 34f2da2d9b Documentation 2023-12-07 21:39:33 +01:00
Mathieu Trossevin a0728e086f chore(fmt) 2023-12-07 21:13:06 +01:00
Mathieu Trossevin 6984d1a0ea Finish implementing reception of file descriptors. 2023-12-07 21:10:44 +01:00
Mathieu Trossevin e867697c2b Mostly implement file descriptor reception.
This still miss detection of Message Queues.
2023-12-07 20:59:11 +01:00
Mathieu Trossevin d670bad1e9
Initial commit 2023-12-07 18:02:35 +01:00