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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/8/31 Seonghun Lim <wariua@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux