Re: READONLY_EXEC is a curious name

From: Andi Kleen
Date: Wed Apr 14 2004 - 14:24:08 EST


On Wed, 14 Apr 2004 20:06:53 +0100
Jamie Lokier <jamie@xxxxxxxxxxxxx> wrote:

> This is not important.
>
> PAGE_READONLY_EXEC is defined in <asm-x86_64/pgtable.h>.
>
> Does anyone else think PAGE_READONLY_EXEC is an odd name for a set of
> flags which enables read _and_ execute permission? What about
> PAGE_READEXEC instead?

It just follows the pattern there (default is with NX and _EXEC is the variant
without NX). I don't care much either ways.

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