Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send arbitrary FDs across processes #263

Open
mitsuhiko opened this issue Feb 29, 2020 · 3 comments
Open

Ability to send arbitrary FDs across processes #263

mitsuhiko opened this issue Feb 29, 2020 · 3 comments

Comments

@mitsuhiko
Copy link

Currently only channels and shared memory regions can be sent via IPC. It would be nice if one could serialize arbitrary objects implementing IntoRawFd and FromRawFd.

eg:

let handle = Handle::new(File::open(...).unwrap());
tx.send(handle).unwrap();
let file = rx.recv().unwrap().into_inner();
@zaddach
Copy link

zaddach commented Apr 29, 2021

Hi, Is there any progress on this? This feature would be very useful.

@jdm
Copy link
Member

jdm commented Apr 29, 2021

Nobody is actively adding features to this crate right now. A pull request to implement this feature would be accepted, however.

@zaddach
Copy link

zaddach commented Jul 22, 2021

PR in #276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants