mirror of https://github.com/mkerrisk/man-pages
mprotect.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d88d01c6b8
commit
93d210fd5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue