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

From: Gerhard Mack
Date: Fri Jun 04 2004 - 13:12:13 EST


On Fri, 4 Jun 2004, Arjan van de Ven wrote:

> I know that in a FC1 full install there are less than 5 binaries that don't
> run with NX. (one uses nested functions in C and passes function pointers to
> the inner function around which causes gcc to emit a stack trampoline, and
> gcc then marks the binary as non-NX, the others have asm in them that we
> didn't fix in time to be properly marked).

Can you tell if GCC uses trampolines for all use of function pointers or
just ones that use nested functions ?

Also, what is the fastest way to check if GCC is marking non-NX?

Gerhard

--
Gerhard Mack

gmack@xxxxxxxxxxxxx

<>< As a computer I find your faith in technology amusing.
-
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/