lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] doc: missing value 2 for randomize-va-space
On Thu, 2 Jul 2009, Horst Schirmeier wrote:

> The documentation for /proc/sys/kernel/* does not mention the possible
> value 2 for randomize-va-space (but already mentions what it does).

Hmm, while you are at it ...

> Documentation/sysctl/kernel.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
> index 322a00b..b2af4ef 100644
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -310,7 +310,7 @@ that support this feature.
> loaded to random addresses. Also for PIE-linked binaries, the location
> of code start is randomized.
>
> - With heap randomization, the situation is a little bit more
> +2 - With heap randomization, the situation is a little bit more
> complicated.
> There a few legacy applications out there (such as some ancient

... would you please fix this typo/grammo as well? (There a few ...)

> versions of libc.so.5 from 1996) that assume that brk area starts

Also, the text itself doesn't seem to be super-clear ... namely, it
describes what CONFIG_COMPAT_BRK is about, but doesn't really clarify how
exactly does this correlate with randomize_va_space == 2. Would you mind
also fixing this bit?

Thanks,

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2009-07-03 01:15    [from the cache]
©2003-2011 Jasper Spaans