mirror of https://github.com/mkerrisk/man-pages
mprotect.2: fix off-by-one error in a memory range
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f8e32007b0
commit
da2336b314
|
@ -98,7 +98,7 @@ Internal kernel structures could not be allocated.
|
|||
.B ENOMEM
|
||||
Addresses in the range
|
||||
.RI [ addr ,
|
||||
.IR addr + len ]
|
||||
.IR addr + len \-1]
|
||||
are invalid for the address space of the process,
|
||||
or specify one or more pages that are not mapped.
|
||||
(Before kernel 2.4.19, the error
|
||||
|
|
Loading…
Reference in New Issue