Skip to content

Commit

Permalink
Merge pull request #4127 from sthibaul/main
Browse files Browse the repository at this point in the history
hurd: Update mmap flags
  • Loading branch information
tgross35 authored Nov 20, 2024
2 parents 93b49b1 + d078048 commit b3d958a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/unix/hurd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2732,8 +2732,10 @@ pub const MAP_SHARED: ::c_int = 16;
pub const MAP_PRIVATE: ::c_int = 0;
pub const MAP_FIXED: ::c_int = 256;
pub const MAP_NOEXTEND: ::c_int = 512;
pub const MAP_HASSEMPHORE: ::c_int = 1024;
pub const MAP_HASSEMAPHORE: ::c_int = 1024;
pub const MAP_INHERIT: ::c_int = 2048;
pub const MAP_32BIT: ::c_int = 4096;
pub const MAP_EXCL: ::c_int = 16384;
pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
pub const MADV_NORMAL: ::c_int = 0;
pub const MADV_RANDOM: ::c_int = 1;
Expand Down

0 comments on commit b3d958a

Please sign in to comment.