[RFC PATCH v2 04/11] powerpc/mm: Add a framework for Kernel Userspace Access Protection

Michael Ellerman mpe at ellerman.id.au
Fri Dec 21 16:07:53 AEDT 2018


Christophe Leroy <christophe.leroy at c-s.fr> writes:

> This patch implements a framework for Kernel Userspace Access
> Protection.
>
> Then subarches will have to possibility to provide their own
> implementation by providing setup_kuap() and lock/unlock_user_access()
>
> Some platform will need to know the area accessed and whether it is
> accessed from read, write or both. Therefore source, destination and
> size and handed over to the two functions.
>
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

I think some of this code came from Russell's original patch?

In which case we should have his signed-off-by here.

cheers


More information about the Linuxppc-dev mailing list