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

From: Jakub Jelinek
Date: Tue Jun 08 2004 - 04:08:40 EST


On Fri, Jun 04, 2004 at 06:13:04PM +0200, Andi Kleen wrote:
> Of course that is only for the stack. Making the heap non executable
> is another can of worms. I don't know if Fedora does that
> too, SUSE and mainline x86-64 doesn't.

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.

Jakub
-
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/