-
Notifications
You must be signed in to change notification settings - Fork 134
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 NOEXEC_SEAL and EXEC to MemfdFlags #976
Add NOEXEC_SEAL and EXEC to MemfdFlags #976
Conversation
2f69e0e
to
4fc6420
Compare
Bump(?) |
It looks like |
Exactly. I'm not sure how to proceeded. Supporting only linux_raw sound wrong. Do we want to wait on libc or define them ourself? |
The libc crate doesn't pick up new features automatically; I'll need someone to submit a PR. Rustix does occasionally define values for itself, but we usually prefer to submit PRs to libc to upstream values. So submitting |
libc merge request merged just now. |
4fc6420
to
79ecabf
Compare
NOEXEC_SEAL and EXEC constants were added in libc 0.2.153
Enabling non-executable memfds: https://lwn.net/Articles/918106/
79ecabf
to
46ab1f5
Compare
CI failures seem to be unrelated. |
Thanks! |
Enabling non-executable memfds: https://lwn.net/Articles/918106/