openbsd adding mmap MAP_CONCEAL flag.

This commit is contained in:
David Carlier 2021-05-08 08:11:04 +01:00
parent 7cc1cf300a
commit 36f2fe5ad5
2 changed files with 2 additions and 0 deletions

View File

@ -418,6 +418,7 @@ MADV_NORMAL
MADV_RANDOM
MADV_SEQUENTIAL
MADV_WILLNEED
MAP_CONCEAL
MAP_COPY
MAP_FILE
MAP_HASSEMAPHORE

View File

@ -1360,6 +1360,7 @@ pub const NTFS_MFLAG_ALLNAMES: ::c_int = 0x2;
pub const TMPFS_ARGS_VERSION: ::c_int = 1;
pub const MAP_STACK: ::c_int = 0x4000;
pub const MAP_CONCEAL: ::c_int = 0x8000;
// https://github.com/openbsd/src/blob/master/sys/net/if.h#L187
pub const IFF_UP: ::c_int = 0x1; // interface is up