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

Add MapFlags::MAP_UNINITIALIZED for Linux #2024

Open
raymontag opened this issue Apr 20, 2023 · 2 comments
Open

Add MapFlags::MAP_UNINITIALIZED for Linux #2024

raymontag opened this issue Apr 20, 2023 · 2 comments

Comments

@raymontag
Copy link

Linux supports the map flag MAP_UNINITIALIZED for embedded devices. Please add this for the MapFlags type.

https://elixir.bootlin.com/linux/latest/source/include/uapi/asm-generic/mman-common.h#L33

@asomers
Copy link
Member

asomers commented May 20, 2023

Care to submit a PR?

@raymontag
Copy link
Author

I created a PR for rust-libc: rust-lang/libc#3274

If this is accepted, I'll create my PR for nix

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

No branches or pull requests

2 participants