Skip to content

Commit

Permalink
Auto merge of #3471 - devnexen:netbsdlike_map_tryfixed, r=JohnTitor
Browse files Browse the repository at this point in the history
openbsd/netbsd MAP_TRYFIXED constant
  • Loading branch information
bors committed Dec 10, 2023
2 parents 347d95a + 36f5f13 commit f37806e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
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

0 comments on commit f37806e

Please sign in to comment.