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

2020-04-17 Thread Christophe Leroy
Le 17/04/2020 à 12:39, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of April 17, 2020 8:10 pm: Le 18/04/2019 à 08:51, Michael Ellerman a écrit : Kernel Userspace Access Prevention utilises a feature of the Radix MMU which disallows read and write access to userspace a

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

2020-04-17 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of April 17, 2020 8:10 pm: > > > Le 18/04/2019 à 08:51, Michael Ellerman a écrit : >> 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 i

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

2020-04-17 Thread Christophe Leroy
Le 18/04/2019 à 08:51, Michael Ellerman a écrit : 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

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

2019-04-18 Thread Michael Ellerman
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() and