public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] mprotect.2: fix off-by-one error in a memory range
@ 2011-08-31 15:05 Seonghun Lim
       [not found] ` <4E5E4DCD.5080607-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Seonghun Lim @ 2011-08-31 15:05 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] mprotect.2: fix off-by-one error in a memory range
       [not found] ` <4E5E4DCD.5080607-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-09-08 14:30   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2011-09-08 14:30 UTC (permalink / raw)
  To: Seonghun Lim; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

2011/8/31 Seonghun Lim <wariua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> 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

Thanks Seonghun. Applied for man-pages-3.33.

Cheers,

Michael



-- 
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-08 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 15:05 [patch] mprotect.2: fix off-by-one error in a memory range Seonghun Lim
     [not found] ` <4E5E4DCD.5080607-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-08 14:30   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox