Re: [announce] [patch] NX (No eXecute) support for x86, 2.6.7-rc2-bk2

From: Andi Kleen
Date: Thu Jun 03 2004 - 18:07:24 EST


On Thu, Jun 03, 2004 at 03:58:27PM -0700, Siddha, Suresh B wrote:
> On Thursday 03 June 2004 13:37, Andi Kleen wrote:
> > > What do you mean by "in the future"? on x86, with the current no execute
> > > patch, malloc() will be non-exec
> >
> > On x86-64 the heap is executable right now at least.
> >
>
> oh! I see. Looks like only Ingo's exec-shield patch is doing that.

Maybe adding a new ELF header flag for that would be a good idea too.
Just not sure if gcc should set it by default or not.

But I fear chaging it for x86-64 generically could break programs
again.

-andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/