On Thu, Feb 24, 2022 at 12:30 AM Dinh Nguyen wrote:
> On 2/16/22 07:13, Arnd Bergmann wrote: From: Arnd Bergmann
> >
> > Unlike other architectures, the nios2 version of __put_user() has an
> > extra check for access_ok(), preventing it from being used to implement
> > __put_kernel_nofault().
> >
On 2/16/22 07:13, Arnd Bergmann wrote:
From: Arnd Bergmann
Unlike other architectures, the nios2 version of __put_user() has an
extra check for access_ok(), preventing it from being used to implement
__put_kernel_nofault().
Split up put_user() along the same lines as __get_user()/get_user()
On Mon, Feb 21, 2022 at 5:25 AM Thomas Bogendoerfer
wrote:
>
> With this patch
[ .. snip snip ..]
> I at least get my simple test cases fixed, but I'm not sure this is
> correct.
I think you really want to do that anyway, just to get things like
wild kernel pointers right (ie think get_kernel_nof
On Wed, Feb 23, 2022 at 8:41 AM Thomas Bogendoerfer
wrote:
>
> On Wed, Feb 16, 2022 at 02:13:23PM +0100, Arnd Bergmann wrote:
> > diff --git a/arch/mips/include/asm/uaccess.h
> > b/arch/mips/include/asm/uaccess.h
> > index db9a8e002b62..d7c89dc3426c 100644
> > --- a/arch/mips/include/asm/uaccess.