Skip to content

MDWE prctls #1452

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

Open
5 tasks
rusty-snake opened this issue Apr 12, 2025 · 1 comment
Open
5 tasks

MDWE prctls #1452

rusty-snake opened this issue Apr 12, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@rusty-snake
Copy link
Contributor

  • MemoryDenyWriteExecuteMask bitflags (mask or flags?)
    • REFUSE_EXEC_GAIN
    • NO_INHERIT (Linux 6.6)
  • set_mdwe(mask) or set_memory_deny_write_execute(mask) or set_memory_deny_write_execute_protection(mask)
  • mdwe() -> mask or memory_deny_write_execute() -> mask or memory_deny_write_execute_protection() -> mask
@rusty-snake
Copy link
Contributor Author

rusty-snake commented Apr 12, 2025

rust-lang/libc#4400

Merged

@sunfishcode sunfishcode added the enhancement New feature or request label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants