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

2018-11-21 Thread Michael Ellerman
Russell Currey writes: > On Wed, 2018-11-07 at 16:56 +, 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: Christ

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

2018-11-18 Thread Russell Currey
On Wed, 2018-11-07 at 16:56 +, 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 An open question (wi

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

2018-11-07 Thread Christophe Leroy
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 --- Documentation/admin-guide/kernel-parameters.txt | 2 +- arch/powerpc/include/asm/mmu.h