lkml.org 
[lkml]   [2008]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: brk randomization breaks columns

* Pavel Machek <pavel@ucw.cz> wrote:

> > From: Jiri Kosina <jkosina@suse.cz>
> >
> > brk: check the lower bound properly
> >
> > There is a check in sys_brk(), that tries to make sure that we do not
> > underflow the area that is dedicated to brk heap.
> >
> > The check is however wrong, as it assumes that brk area starts immediately
> > after the end of the code (+bss), which is wrong for example in
> > environments with randomized brk start. The proper way is to check whether
> > the address is not below the start_brk address.
> >
> > Signed-off-by: Jiri Kosina <jkosina@suse.cz>
>
> ACK.

actually, does the patch above from Jiri solve the problem with your 11
year old binaries too? (Sorry if it has been mentioned elsewhere, i
could not decode it from this thread.)

Ingo


\
 
 \ /
  Last update: 2008-02-05 17:11    [from the cache]
©2003-2011 Jasper Spaans