Skip to content

Commit 8c5efbf

Browse files
committed
Auto merge of #2397 - devnexen:netbsd_map_stack, r=JohnTitor
netbsd add mmap MAP_STACK flag
2 parents 3bd76cd + bf428dc commit 8c5efbf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/netbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ MAP_HASSEMAPHORE
595595
MAP_NORESERVE
596596
MAP_REMAPDUP
597597
MAP_RENAME
598+
MAP_STACK
598599
MAP_WIRED
599600
MAXFREQ
600601
MAXPHASE

src/unix/bsd/netbsdlike/netbsd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ pub const MAP_RENAME: ::c_int = 0x20;
12961296
pub const MAP_NORESERVE: ::c_int = 0x40;
12971297
pub const MAP_HASSEMAPHORE: ::c_int = 0x200;
12981298
pub const MAP_WIRED: ::c_int = 0x800;
1299+
pub const MAP_STACK: ::c_int = 0x2000;
12991300
// mremap flag
13001301
pub const MAP_REMAPDUP: ::c_int = 0x004;
13011302

0 commit comments

Comments
 (0)