DORMANTno replies

[patch] mprotect.2: fix off-by-one error in a memory range

From: Seonghun Lim <hidden>
Date: 2011-08-31 15:05:49
Subsystem: the rest · Maintainer: Linus Torvalds

man-pages version: latest git repository
why: Just a simple typo, maybe.
See the address range in DESCRIPTION section.

diff --git a/man2/mprotect.2 b/man2/mprotect.2
--- a/man2/mprotect.2
+++ b/man2/mprotect.2
@@ -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

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help