Skip to content

Commit b3d958a

Browse files
authored
Merge pull request #4127 from sthibaul/main
hurd: Update mmap flags
2 parents 93b49b1 + d078048 commit b3d958a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/unix/hurd/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -2732,8 +2732,10 @@ pub const MAP_SHARED: ::c_int = 16;
27322732
pub const MAP_PRIVATE: ::c_int = 0;
27332733
pub const MAP_FIXED: ::c_int = 256;
27342734
pub const MAP_NOEXTEND: ::c_int = 512;
2735-
pub const MAP_HASSEMPHORE: ::c_int = 1024;
2735+
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)