READONLY_EXEC is a curious name
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?
-- Jamie
Quoted 7 lines · On Wed, 14 Apr 2004 20:06:53 +0100 Jamie Lokier <[email protected]> wrote:
This is not important.
PAGE_READONLY_EXECis defined in <asm-x86_64/pgtable.h>.Does anyone else think
PAGE_READONLY_EXECis an odd name for a set of flags which enables read _and_ execute permission? What aboutPAGE_READEXECinstead?
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
Quoted 8 lines · Andi Kleen
Quoted 5 lines
PAGE_READONLY_EXECis defined in <asm-x86_64/pgtable.h>.Does anyone else think
PAGE_READONLY_EXECis an odd name for a set of flags which enables read _and_ execute permission? What aboutPAGE_READEXECinstead?It just follows the pattern there (default is with NX and
_EXECis 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