[RFC PATCH v1 3/6] powerpc: Add skeleton for Kernel Userspace Execution Prevention

Russell Currey ruscur at russell.cc
Mon Nov 19 13:44:08 AEDT 2018


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.

- Russell



More information about the Linuxppc-dev mailing list