Re: [PATCH 4/4] powerpc/64s: Implement KUAP for Radix MMU

2018-11-28 Thread Christophe Leroy
On 11/22/2018 02:04 PM, Russell Currey wrote: 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 trusted paths that perform pro

[PATCH 4/4] powerpc/64s: Implement KUAP for Radix MMU

2018-11-22 Thread 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 trusted paths that perform proper safety checks, such as copy_{to/from}_user() an