[uClibc] Re: uclibc and heap randomisation (ET_EXEC)
Peter S. Mazinger
ps.m at gmx.net
Mon Aug 30 18:38:17 UTC 2004
On Mon, 30 Aug 2004, Joakim Tjernlund wrote:
> > On Sat, 14 Aug 2004, Peter S. Mazinger wrote:
> > > Hello!
> > >
> > > The latest uclibc-cvs solved the heap randomisation issue on PAX enabled
> > > kernels
> > The attached patch killed again heap reandomisation (it was
> > applied to cvs between aug.27-30, don't know exactly).
> > Is it really necessary?
> > Peter
> Hmm, I removed that code by mistake and that broke procps. So I added
> it again. Why does it break heap randomisation? I don't know if both
> __environ and __curbrk is needed for procps. Maybe only one of
> them is needed? Does heap randomisation need both of them to go away
> or is it enough with __curbrk?
Only the brk part is the cause. To understand what is needed,
please look for (s)brk issues in the ml archive. I have no programming
knowledge, so I can't tell you more about it (look for PaX/PAX, some of
the mails where sent by me or by pageexec at freemail dot hu)
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
More information about the uClibc