Skip to content

Commit d56360a

Browse files
committed
Auto merge of #2164 - devnexen:obsd_update, r=Amanieu
openbsd adding mmap MAP_CONCEAL flag.
2 parents 7cc1cf3 + 36f2fe5 commit d56360a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/openbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ MADV_NORMAL
418418
MADV_RANDOM
419419
MADV_SEQUENTIAL
420420
MADV_WILLNEED
421+
MAP_CONCEAL
421422
MAP_COPY
422423
MAP_FILE
423424
MAP_HASSEMAPHORE

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

+1
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,7 @@ pub const NTFS_MFLAG_ALLNAMES: ::c_int = 0x2;
13601360
pub const TMPFS_ARGS_VERSION: ::c_int = 1;
13611361

13621362
pub const MAP_STACK: ::c_int = 0x4000;
1363+
pub const MAP_CONCEAL: ::c_int = 0x8000;
13631364

13641365
// https://github.com/openbsd/src/blob/master/sys/net/if.h#L187
13651366
pub const IFF_UP: ::c_int = 0x1; // interface is up

0 commit comments

Comments
 (0)