-.\" $OpenBSD: mmap.2,v 1.65 2019/12/21 05:23:38 jsg Exp $
+.\" $OpenBSD: mmap.2,v 1.66 2021/03/02 17:43:04 deraadt Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 21 2019 $
+.Dd $Mdocdate: March 2 2021 $
.Dt MMAP 2
.Os
.Sh NAME
argument are not allowed.
In particular,
.Dv PROT_WRITE | PROT_EXEC
-mappings are not permitted in most binaries (see
+mappings are not permitted unless the filesystem is mounted
+.Cm wxallowed
+and the process is link-time tagged with
+.Cm wxneeded .
+(See also
.Dv kern.wxabort
in
.Xr sysctl 2
-for more information).
+for a method to diagnose failure).
.El
.Sh SEE ALSO
.Xr madvise 2 ,