Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix Issue 22439 - OpenBSD: Sync mman.d #3596

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/sys/openbsd/sys/mman.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import core.sys.posix.sys.types;

alias MAP_ANONYMOUS = MAP_ANON;
enum MAP_STACK = 0x4000;
enum MAP_CONCEAL = 0x8000;

enum MAP_FLAGMASK = 0x7ff7;
enum MAP_FLAGMASK = 0xfff7;

alias MAP_COPY = MAP_PRIVATE;
enum MAP_FILE = 0;
Expand All @@ -45,7 +46,6 @@ static if (__BSD_VISIBLE)
enum MADV_FREE = 6;

int madvise(void *, size_t, int);
int mincore(const(void) *, size_t, char *);
int minherit(void *, size_t, int);
void* mquery(void *, size_t, int, int, int, off_t);
}