-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add constants for Memory-Deny-Write-Execute prctls #4400
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
Conversation
I'm not sure if the CI failure is because architecture or libc. |
Reminder, once the PR becomes ready for a review, use |
4cf57ec
to
b8e262e
Compare
@rustbot ready |
I double checked and Android does look like it defines these https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/kernel/uapi/linux/prctl.h;l=175-178;drc=7ac54f5c391bf3aeb9fec84a158939421fd8f505 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Description
This PR adds constants for Memory-Deny-Write-Execute prctls added in Linux 6.3 (
PR_MDWE_NO_INHERIT
Linux 6.6).Sources
https://github.com/torvalds/linux/blob/3bde70a2c82712f05c7220b8b94fc2cbdf7fbfe0/include/uapi/linux/prctl.h#L287-L292
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated