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). was not set).
.TP .TP
.B EEXIST .B EEXIST
range covered by .BR MAP_FIXED_NOREPLACE
.IR addr , was specified in
.IR flags ,
and the range covered by
.IR addr
and
.IR length .IR length
is clashing with an existing mapping. is clashes with an existing mapping.
.TP .TP
.B EINVAL .B EINVAL
We don't like We don't like