summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2018-02-11 04:39:15 +0000
committerderaadt <deraadt@openbsd.org>2018-02-11 04:39:15 +0000
commit28fcfa5fdc56a9f7e71a66d3b18b32dc23db31df (patch)
treee39db8c4f06f5ca0766401c508e3d1e1bb8e60d8
parentSDIO support for bwfm(4) is good enough now that we can remove the (diff)
downloadwireguard-openbsd-28fcfa5fdc56a9f7e71a66d3b18b32dc23db31df.tar.xz
wireguard-openbsd-28fcfa5fdc56a9f7e71a66d3b18b32dc23db31df.zip
light documentation for MAP_STACK
-rw-r--r--sys/sys/mman.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index e4d96a1690a..90959c2b18a 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mman.h,v 1.30 2018/02/11 04:09:19 deraadt Exp $ */
+/* $OpenBSD: mman.h,v 1.31 2018/02/11 04:39:15 deraadt Exp $ */
/* $NetBSD: mman.h,v 1.11 1995/03/26 20:24:23 jtc Exp $ */
/*-
@@ -58,8 +58,8 @@
#define __MAP_NOREPLACE 0x0800 /* fail if address not available */
#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_NOFAULT 0x2000)
+#define MAP_STACK 0x4000 /* mapping is used for a stack */
#define MAP_FLAGMASK 0x7ff7