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
c6a51c0645
commit
228d889fc7
17
man2/mmap.2
17
man2/mmap.2
|
@ -264,14 +264,19 @@ and the PAM libraries
|
|||
Newer kernels
|
||||
(Linux 4.17 and later) have a
|
||||
.B MAP_FIXED_NOREPLACE
|
||||
option that avoids the corruption problem; if available, MAP_FIXED_NOREPLACE
|
||||
should be preferred over MAP_FIXED.
|
||||
option that avoids the corruption problem; if available,
|
||||
.B MAP_FIXED_NOREPLACE
|
||||
should be preferred over
|
||||
.BR MAP_FIXED .
|
||||
.TP
|
||||
.BR MAP_FIXED_NOREPLACE " (since Linux 4.17)"
|
||||
Similar to MAP_FIXED with respect to the
|
||||
.I
|
||||
addr
|
||||
enforcement, but different in that MAP_FIXED_NOREPLACE never clobbers a pre-existing
|
||||
Similar to
|
||||
.B MAP_FIXED
|
||||
with respect to the
|
||||
.I addr
|
||||
enforcement, but different in that
|
||||
.B MAP_FIXED_NOREPLACE
|
||||
never clobbers a pre-existing
|
||||
mapped range. If the requested range would collide with an existing
|
||||
mapping, then this call fails with
|
||||
.B EEXIST.
|
||||
|
|
Loading…
Reference in New Issue