Re: [PATCH v5 09/10] powerpc/64s: Implement KUAP for Radix MMU

2019-04-17 Thread Michael Ellerman
Christophe Leroy writes: > Le 08/03/2019 à 02:16, Michael Ellerman a écrit : ... >> diff --git a/arch/powerpc/include/asm/book3s/64/kup-radix.h >> b/arch/powerpc/include/asm/book3s/64/kup-radix.h >> new file mode 100644 >> index ..3d60b04fc3f6 >> --- /dev/null >> +++ b/arch/powerpc/in

Re: [PATCH v5 09/10] powerpc/64s: Implement KUAP for Radix MMU

2019-03-08 Thread Christophe Leroy
Le 08/03/2019 à 02:16, Michael Ellerman a écrit : From: Russell Currey Kernel Userspace Access Prevention utilises a feature of the Radix MMU which disallows read and write access to userspace addresses. By utilising this, the kernel is prevented from accessing user data from outside of trus