Skip to content

Track SCM_RIGHTS support via socket2 or std #781

@seuros

Description

@seuros

Context

The tcp_listener_fd_passing example (PR #778) requires libc for SCM_RIGHTS file descriptor passing because:

  • rama::unix provides UnixListener/UnixStream for socket creation and cleanup, but no ancillary data (SCM_RIGHTS) support
  • std::os::unix::net::SocketAncillary is still nightly-only (#![feature(unix_socket_ancillary_data)])

Goal

Remove libc dependency once socket2 or std provides stable SCM_RIGHTS support, then add safe wrappers to rama::unix.

Upstream tracking

Metadata

Metadata

Assignees

No one assigned

    Labels

    Core TeamTicket reserved for Core TeamblockedTasks which are blocked on other work.low prioLow priority item.needs input

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions