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

From: Arjan van de Ven
Date: Tue Jun 08 2004 - 04:21:29 EST



> > When I added PT_GNU_STACK, it was meant from the beginning as
> > stack+heap+mmap w/o PROT_EXEC executability/non-executability.
> > I don't think it makes any sense to have separate bits for heap and stack.
> > Any program which assumes PROT_READ implies PROT_EXEC just can be marked
> > PT_GNU_STACK PF_X.
>
> heap execution seems to be a lot more common than stack execution.

yep but because *BSD and ia64 and .. and .. already require the correct
mprotect/mmap flags for the heap most code has it ok.
(Ok X had broken ifdefs ;)

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