mirror of https://github.com/mkerrisk/man-pages
mmap.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
da6ad3cd89
commit
08a239f387
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue