[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3816474-c91b-c0a8-0e97-2f6caf9fd3fa@c-s.fr>
Date: Fri, 21 Dec 2018 07:48:08 +0100
From: Christophe Leroy <christophe.leroy@....fr>
To: Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, ruscur@...sell.cc
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [RFC PATCH v2 04/11] powerpc/mm: Add a framework for Kernel
Userspace Access Protection
Le 21/12/2018 à 06:07, Michael Ellerman a écrit :
> Christophe Leroy <christophe.leroy@....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@....fr>
>
> I think some of this code came from Russell's original patch?
>
> In which case we should have his signed-off-by here.
>
Yes that's right the ppc64 part is from Russel. As it's still an RFC and
there is still some work to be done I didn't pay much attention to
Signed-off and other tags yet.
Signed-off-by: Russell Currey <ruscur@...sell.cc>
Christophe
Powered by blists - more mailing lists