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

From: Kurt Garloff
Date: Thu Jun 03 2004 - 17:49:07 EST


Hi Linus,

On Wed, Jun 02, 2004 at 02:13:13PM -0700, Linus Torvalds wrote:
> Just out of interest - how many legacy apps are broken by this? I assume
> it's a non-zero number, but wouldn't mind to be happily surprised.
>
> And do we have some way of on a per-process basis say "avoid NX because
> this old version of Oracle/flash/whatever-binary-thing doesn't run with
> it"?

That's why the PT_GNU_STACK section is searched for ;-)
If it's not found, we assume a legacy app and go with the arch default.
I tested this -- on x86-64.

Regards,
--
Kurt Garloff <kurt@xxxxxxxxxx> [Koeln, DE]
Physics:Plasma modeling <garloff@xxxxxxxxxxxxxxxxxxx> [TU Eindhoven, NL]
Linux: SUSE Labs (Head) <garloff@xxxxxxx> [SUSE Nuernberg, DE]

Attachment: pgp00000.pgp
Description: PGP signature