-
Notifications
You must be signed in to change notification settings - Fork 677
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
Add prctl(2) support #601
Comments
Indeed, it seems reasonable to add |
I'm not a very proficient user of Rust yet (I just started picking it up last weekend), but I believe that the |
If you want to have a go at it, I'll mentor you. This crate does very low level abstractions, so basically what you already wrote puts you half way there I'd think. We wouldn't try to offer a more comprehensive high-level API as that crate seems to be aiming for. Otherwise I don't know how likely it is for someone to tackle this in the near future. |
Close as completed in #1550 |
I'm working on an alternative container init and signal forwarder, and a nice feature would be to be able to run it as non-pid1. However, that requires being able to set PR_SET_CHILD_SUBREAPER from within Rust.
While it's possible to do this:
The
unsafe
is unsightly.The text was updated successfully, but these errors were encountered: