Re: READONLY_EXEC is a curious name

From: Jamie Lokier (jamie_at_shareable.org)
Date: 04/14/04

  • Next message: Fabian Frederick: "[PATCH 2.6.5-mm4] vfs_readdir optimizations"
    Date:	Wed, 14 Apr 2004 20:41:49 +0100
    To: Andi Kleen <ak@suse.de>
    
    

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Fabian Frederick: "[PATCH 2.6.5-mm4] vfs_readdir optimizations"

    Relevant Pages