[PATCH 18/25] powerpc: check key protection for user page access

Balbir Singh bsingharora at gmail.com
Thu Oct 19 06:57:32 AEDT 2017


On Fri,  8 Sep 2017 15:45:06 -0700
Ram Pai <linuxram at us.ibm.com> wrote:

> Make sure that the kernel does not access user pages without
> checking their key-protection.
>

Why? This makes the routines AMR/thread specific? Looks like
x86 does this as well, but these routines are used by GUP from
the kernel.

Balbir Singh.



More information about the Linuxppc-dev mailing list