Skip to contentSkip to conversation

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

PATCH In review Seonghun Lim 2 participants 2 messages Aug 31, 2011 – Sep 8, 2011 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mprotect.2: fix off-by-one error in a memory range

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

man2/mprotect.2 +0 -0
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

2011/8/31 Seonghun Lim <[email protected]>:

Quoted 9 lines

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

man2/mprotect.2 +0 -0
@@ -98,7 +98,7 @@ Internal kernel structures could not be allocated.
Quoted 8 lines

.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

Thanks Seonghun. Applied for man-pages-3.33.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html