nix icon indicating copy to clipboard operation
nix copied to clipboard

Add MapFlags::MAP_UNINITIALIZED for Linux

Open raymontag opened this issue 2 years ago • 2 comments
trafficstars

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

raymontag avatar Apr 20 '23 10:04 raymontag

Care to submit a PR?

asomers avatar May 20 '23 15:05 asomers

I created a PR for rust-libc: https://github.com/rust-lang/libc/pull/3274

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

raymontag avatar Jun 15 '23 08:06 raymontag