- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Open
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-unix_socket_ancillary_data`#![feature(unix_socket_ancillary_data)]``#![feature(unix_socket_ancillary_data)]`Libs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.O-unixOperating system: Unix-likeOperating system: Unix-likeT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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 SocketAncillarystruct before stabilization to ensure it is compatible with all OSes.
- fuchsia,- haiku,- illumos,- ios,- macosand- solarisdoes not have- MSG_CMSG_CLOEXECconstant in- libc
- fuchsiaand- uclibc(- x86_64) does not have- cmsghdrstruct in- libc
- The current version of rust libcdoes not haveucredstruct for the target OSemscripten, butemscriptenhas 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
KevinMGranger, zopsicle, tv42, elmarco, raftario and 12 moreg2p, KevinMGranger, raftario, tmccombs, FuuuOverclocking and 1 more
Metadata
Metadata
Assignees
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-unix_socket_ancillary_data`#![feature(unix_socket_ancillary_data)]``#![feature(unix_socket_ancillary_data)]`Libs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.O-unixOperating system: Unix-likeOperating system: Unix-likeT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.