Re: READONLY_EXEC is a curious name

From: Jamie Lokier
Date: Wed Apr 14 2004 - 14:43:57 EST


Andi Kleen wrote:
> > 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.

I asked because I'm about to submit a patch to clean up the Alpha
definitions and have to pick a name. I see parisc picked
PAGE_EXECREAD for this.

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