Skip to content

Commit

Permalink
Auto merge of #2397 - devnexen:netbsd_map_stack, r=JohnTitor
Browse files Browse the repository at this point in the history
netbsd add mmap MAP_STACK flag
  • Loading branch information
bors committed Sep 12, 2021
2 parents 3bd76cd + bf428dc commit 8c5efbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Expand Up @@ -595,6 +595,7 @@ MAP_HASSEMAPHORE
MAP_NORESERVE
MAP_REMAPDUP
MAP_RENAME
MAP_STACK
MAP_WIRED
MAXFREQ
MAXPHASE
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Expand Up @@ -1296,6 +1296,7 @@ pub const MAP_RENAME: ::c_int = 0x20;
pub const MAP_NORESERVE: ::c_int = 0x40;
pub const MAP_HASSEMAPHORE: ::c_int = 0x200;
pub const MAP_WIRED: ::c_int = 0x800;
pub const MAP_STACK: ::c_int = 0x2000;
// mremap flag
pub const MAP_REMAPDUP: ::c_int = 0x004;

Expand Down

0 comments on commit 8c5efbf

Please sign in to comment.