[RFC PATCH v1 3/6] powerpc: Add skeleton for Kernel Userspace Execution Prevention
    Michael Ellerman 
    mpe at ellerman.id.au
       
    Wed Nov 21 22:50:56 AEDT 2018
    
    
  
Russell Currey <ruscur at russell.cc> writes:
> On Wed, 2018-11-07 at 16:56 +0000, Christophe Leroy wrote:
>> This patch adds a skeleton for Kernel Userspace Execution Prevention.
>> 
>> Then subarches implementing it have to define CONFIG_PPC_HAVE_KUEP
>> and provide setup_kuep() function.
>> 
>> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
>
> An open question (with nothing to do specifically with this patch):
>
> For what reason would you ever disable execution prevention?  Clearly
> there must be something since "nosmep" is a thing, but I don't know why
> we'd ever do it.
Because depending on the implementation there might be a performance
overhead, and you may want to avoid that.
cheers
    
    
More information about the Linuxppc-dev
mailing list