summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-03-17 00:59:12 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-03-17 00:59:12 +0000
commit5f3b6cda22e427ec4a19d69774a355b89674dddb (patch)
treec2af788ec70eb52b59b6c84fff48e5c69e994c84
parentdabab581254b13f3107215bd9602166e1565b22b (diff)
Document MAP_CONCEAL. Prompted by jmc@. ok otto@ schwarze@.
-rw-r--r--lib/libc/sys/mmap.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 3c2c7a634dd..5f3aeea3966 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.60 2019/01/11 18:46:30 deraadt Exp $
+.\" $OpenBSD: mmap.2,v 1.61 2019/03/17 00:59:11 cheloha Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: January 11 2019 $
+.Dd $Mdocdate: March 17 2019 $
.Dt MMAP 2
.Os
.Sh NAME
@@ -159,6 +159,8 @@ This flag must be used in combination with
.Dv MAP_ANON
and
.Dv MAP_PRIVATE .
+.It Dv MAP_CONCEAL
+Exclude the mapping from core dumps.
.El
.Pp
Finally, the following flags are also provided for
@@ -302,7 +304,8 @@ for more information).
.Xr mquery 2 ,
.Xr msync 2 ,
.Xr munmap 2 ,
-.Xr getpagesize 3
+.Xr getpagesize 3 ,
+.Xr core 5
.Sh STANDARDS
The
.Fn mmap