From: deraadt Date: Sun, 11 Feb 2018 04:09:19 +0000 (+0000) Subject: Add MAP_STACK flag. Currently masked by mmap() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=80e6ddab5b6b834f2d6fa7f2078e697ea58cdbf9;p=openbsd Add MAP_STACK flag. Currently masked by mmap() --- diff --git a/sys/sys/mman.h b/sys/sys/mman.h index 1e7884cc2ee..e4d96a1690a 100644 --- a/sys/sys/mman.h +++ b/sys/sys/mman.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mman.h,v 1.29 2016/06/01 04:53:54 guenther Exp $ */ +/* $OpenBSD: mman.h,v 1.30 2018/02/11 04:09:19 deraadt Exp $ */ /* $NetBSD: mman.h,v 1.11 1995/03/26 20:24:23 jtc Exp $ */ /*- @@ -59,8 +59,9 @@ #define MAP_ANON 0x1000 /* allocated from memory, swap space */ #define MAP_ANONYMOUS MAP_ANON /* alternate POSIX spelling */ #define __MAP_NOFAULT 0x2000 +#define MAP_STACK 0x4000 -#define MAP_FLAGMASK 0x3ff7 +#define MAP_FLAGMASK 0x7ff7 #ifndef _KERNEL /*