Skip to content
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

openbsd/netbsd MAP_TRYFIXED constant #3471

Merged
merged 1 commit into from Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Expand Up @@ -643,6 +643,7 @@ MAP_NORESERVE
MAP_REMAPDUP
MAP_RENAME
MAP_STACK
MAP_TRYFIXED
MAP_WIRED
MAXFREQ
MAXPHASE
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Expand Up @@ -486,6 +486,7 @@ MAP_NOEXTEND
MAP_NORESERVE
MAP_RENAME
MAP_STACK
MAP_TRYFIXED
MCL_CURRENT
MCL_FUTURE
MDMBUF
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Expand Up @@ -1701,6 +1701,7 @@ pub const O_DSYNC: ::c_int = 0x10000;
pub const MAP_RENAME: ::c_int = 0x20;
pub const MAP_NORESERVE: ::c_int = 0x40;
pub const MAP_HASSEMAPHORE: ::c_int = 0x200;
pub const MAP_TRYFIXED: ::c_int = 0x400;
pub const MAP_WIRED: ::c_int = 0x800;
pub const MAP_STACK: ::c_int = 0x2000;
// map alignment aliases for MAP_ALIGNED
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/netbsdlike/openbsd/mod.rs
Expand Up @@ -1229,6 +1229,7 @@ pub const O_DSYNC: ::c_int = 128;
pub const MAP_RENAME: ::c_int = 0x0000;
pub const MAP_NORESERVE: ::c_int = 0x0000;
pub const MAP_HASSEMAPHORE: ::c_int = 0x0000;
pub const MAP_TRYFIXED: ::c_int = 0;

pub const EIPSEC: ::c_int = 82;
pub const ENOMEDIUM: ::c_int = 85;
Expand Down