Skip to content

hurd: Update mmap flags #4127

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

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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