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
3a548c59d9
commit
73cb50e21b
|
@ -286,7 +286,9 @@ This flag can therefore be used as a way to atomically
|
||||||
one thread will succeed; all others will report failure.
|
one thread will succeed; all others will report failure.
|
||||||
Note that older kernels which do not recognize this
|
Note that older kernels which do not recognize this
|
||||||
flag will typically (upon detecting a collision with a preexisting mapping)
|
flag will typically (upon detecting a collision with a preexisting mapping)
|
||||||
fall back to a "non-MAP_FIXED" type of behavior:
|
fall back to a "non-\c
|
||||||
|
.B MAP_FIXED\c
|
||||||
|
" type of behavior:
|
||||||
they will return an address that is different from the requested address.
|
they will return an address that is different from the requested address.
|
||||||
Therefore, backward-compatible software
|
Therefore, backward-compatible software
|
||||||
should check the returned address against the requested address.
|
should check the returned address against the requested address.
|
||||||
|
|
Loading…
Reference in New Issue