mmap.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-13 08:19:44 +02:00
parent da6ad3cd89
commit 08a239f387
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,7 @@ except that
mappings ignore unknown flags in
.IR flags .
By contrast, when creating a mapping using
.B MAP_SHARED_VALIDATE ,
.BR MAP_SHARED_VALIDATE ,
the kernel verifies all passed flags are known and fails the
mapping with the error
.BR EOPNOTSUPP
@ -310,6 +310,7 @@ then this call fails with the error
This flag can therefore be used as a way to atomically
(with respect to other threads) attempt to map an address range:
one thread will succeed; all others will report failure.
.IP
Note that older kernels which do not recognize this
flag will typically (upon detecting a collision with a preexisting mapping)
fall back to a "non-\c