mmap.2: Explicitly mention MAP_FIXED_NOREPLACE in EEXIST description

Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-12 10:06:34 +02:00
parent 421508eba8
commit 95b9ecbf9d
1 changed files with 7 additions and 3 deletions

View File

@ -523,10 +523,14 @@ is not a valid file descriptor (and
was not set).
.TP
.B EEXIST
range covered by
.IR addr ,
.BR MAP_FIXED_NOREPLACE
was specified in
.IR flags ,
and the range covered by
.IR addr
and
.IR length
is clashing with an existing mapping.
is clashes with an existing mapping.
.TP
.B EINVAL
We don't like