From 93d210fd5ab590ee13522933df788911240c861c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 21 Nov 2016 08:27:10 +0100 Subject: [PATCH] mprotect.2: wfix Signed-off-by: Michael Kerrisk --- man2/mprotect.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/mprotect.2 b/man2/mprotect.2 index f4896814e..1bca57e5a 100644 --- a/man2/mprotect.2 +++ b/man2/mprotect.2 @@ -42,14 +42,14 @@ mprotect, pkey_mprotect \- set protection on a region of memory .fi .SH DESCRIPTION .BR mprotect () -changes protection for the calling process's memory page(s) +changes the access protections for the calling process's memory pages containing any part of the address range in the interval [\fIaddr\fP,\ \fIaddr\fP+\fIlen\fP\-1]. .I addr must be aligned to a page boundary. If the calling process tries to access memory in a manner -that violates the protection, then the kernel generates a +that violates the protections, then the kernel generates a .B SIGSEGV signal for the process. .PP