Re: NonExecutable Bit in 32Bit

From: Tuncer Ayaz
Date: Wed Apr 25 2007 - 02:37:50 EST


On 4/25/07, Tuncer Ayaz <tuncer.ayaz@xxxxxxxxx> wrote:
On 4/25/07, Cestonaro, Thilo (external)
<Thilo.Cestonaro.external@xxxxxxxxxxxxxxxxxxx> wrote:
> Hey,
>
> > CONFIG_HIGHMEM64G=y
> > CONFIG_HIGHMEM=y
> > CONFIG_X86_PAE=y
>
> Ok in highmem it's active, whats about lowmem?
> x86-64 is NX active for lowmem too AFAIK.

It's more of an issue of having PAE enabled.
Without PAE you are not able to use the the NX bit.
That's the way the CPU works, not Linux.

Forgot to add:
from arch/i386/Kconfig:
config X86_PAE
bool
depends on HIGHMEM64G
default y
select RESOURCES_64BIT

Hope this helps.

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