From 528cc762d99f61cdc89171c87f9f85cbb852da30 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 13 Apr 2018 08:38:50 +0200 Subject: [PATCH] mmap.2: wfix Signed-off-by: Michael Kerrisk --- man2/mmap.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/mmap.2 b/man2/mmap.2 index c00bce897..2be1ba718 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -253,7 +253,7 @@ Software that aspires to be portable should use this option with care, keeping in mind that the exact layout of a process's memory mappings is allowed to change significantly between kernel versions, C library versions, and operating system releases. -This option should only be used when the specified memory region has +This option should be used only when the specified memory region has already been reserved using another mapping; otherwise, it is extremely hazardous because it forcibly removes preexisting mappings, making it easy for a multithreaded process to corrupt its own address space.