Open
Description
Tracking issue for feature(unix_socket_ancillary_data)
to extend UnixStream
and UnixDatagram
to send and receive ancillary data. For example file descriptors.
Unresolved Questions
- Review the
SocketAncillary
struct before stabilization to ensure it is compatible with all OSes. fuchsia
,haiku
,illumos
,ios
,macos
andsolaris
does not haveMSG_CMSG_CLOEXEC
constant inlibc
fuchsia
anduclibc
(x86_64
) does not havecmsghdr
struct inlibc
- The current version of rust
libc
does not haveucred
struct for the target OSemscripten
, butemscripten
has this struct in the standard C library
Known bugs/issues
Implementation history
- unix: Extend UnixStream and UnixDatagram to send and receive file descriptors #69864
- unix: Non-mutable bufs in send_vectored_with_ancillary_to #82589
- unix: Fix feature(unix_socket_ancillary_data) on macos and other BSDs #83374
- Add types for inspecting control messages in Unix socket ancillary data #117196
Metadata
Metadata
Assignees
Labels
Area: `std::io`, `std::fs`, `std::net` and `std::path`Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(unix_socket_ancillary_data)]`Libs issues that are tracked on the team's project board.Operating system: Unix-likeRelevant to the library API team, which will review and decide on the PR/issue.