Re: WINE + NX (No eXecute) support for x86, 2.6.7-rc2-bk2

From: Arjan van de Ven
Date: Sun Jun 06 2004 - 02:34:10 EST


On Sun, 2004-06-06 at 10:29, Mike McCormack wrote:
> Hi Ingo,
>
> Ingo Molnar wrote:
>
> > there are multiple methods in FC1 to turn this off:
> >
> > - FC1 has PT_GNU_STACK support and all binaries that have no
> > PT_GNU_STACK program header will have the stock Linux VM layout.
> > (including executable stack/heap) So by stripping the PT_GNU_STACK
> > header from the wine binary you get this effect.
>
> As far as we can tell, this alone does not stop the kernel from loading
> stuff at the addresses we need. Even without PT_GNU_STACK ld-linux.so.2
> and libc are loaded below 0x01000000, which is the region that Wine
> assumes is free. I think this may be due to prelinking...

that is prelink yes, not the kernel execshield.

Attachment: signature.asc
Description: This is a digitally signed message part