Skip to content

Commit b3f0be0

Browse files
sthibaultgross35
authored andcommitted
hurd: Add MAP_32BIT and MAP_EXCL
As defined in glibc https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mach/hurd/bits/mman_ext.h (backport <rust-lang#4127>) (cherry picked from commit d078048)
1 parent 34fdd5b commit b3f0be0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/hurd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,6 +2734,8 @@ pub const MAP_FIXED: ::c_int = 256;
27342734
pub const MAP_NOEXTEND: ::c_int = 512;
27352735
pub const MAP_HASSEMAPHORE: ::c_int = 1024;
27362736
pub const MAP_INHERIT: ::c_int = 2048;
2737+
pub const MAP_32BIT: ::c_int = 4096;
2738+
pub const MAP_EXCL: ::c_int = 16384;
27372739
pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
27382740
pub const MADV_NORMAL: ::c_int = 0;
27392741
pub const MADV_RANDOM: ::c_int = 1;

0 commit comments

Comments
 (0)