mirror of https://github.com/mkerrisk/man-pages
mmap.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
007d7833b0
commit
509935b7de
|
@ -276,7 +276,7 @@ with respect to the
|
|||
.I addr
|
||||
enforcement, but different in that
|
||||
.B MAP_FIXED_NOREPLACE
|
||||
never clobbers a pre-existing mapped range.
|
||||
never clobbers a preexisting mapped range.
|
||||
If the requested range would collide with an existing mapping,
|
||||
then this call fails with
|
||||
.B EEXIST.
|
||||
|
@ -284,7 +284,7 @@ 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.
|
||||
Please note that older kernels which do not recognize this
|
||||
flag will typically (upon detecting a collision with a pre-existing mapping)
|
||||
flag will typically (upon detecting a collision with a preexisting mapping)
|
||||
fall back to a "non-MAP_FIXED" type of behavior:
|
||||
they will return an address that is different than the requested one.
|
||||
Therefore, backward-compatible software
|
||||
|
|
Loading…
Reference in New Issue