Re: Does Linux support Data Exectiion Protection ?

From: Arjan van de Ven
Date: Wed Jul 29 2009 - 10:34:42 EST


On Wed, 29 Jul 2009 15:08:35 +0100
"Aaron Gray" <aaronngray.lists@xxxxxxxxxxxxxx> wrote:

> Does Linux suppoert DEP, on newer x86 CPU's ?

it does and has been for the better part of at least 5 years.


> I am wondering as this does effect alot of VM's using JIT technology
> if they are wriiten without proper code memory allocation.

given how old our support is, all JITs seem to be working.
In addition there is a compatibility provision for legacy binaries
implemented.

> This is a
> problem for StrongTalk and FoNC' IDC. If EP is availiable how
> configurable is it ?

just make sure you use 64 bit pagetables (either a 64 bit kernel or a
32 bit kernel with PAE support) and you get the support.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/