From 95b9ecbf9d9d19fe77817063c6dd1ec796aa0319 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 12 Apr 2018 10:06:34 +0200 Subject: [PATCH] mmap.2: Explicitly mention MAP_FIXED_NOREPLACE in EEXIST description Reported-by: Jann Horn Signed-off-by: Michael Kerrisk --- man2/mmap.2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/man2/mmap.2 b/man2/mmap.2 index 41b4f9c03..b195a4103 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -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