Re: [PATCH v2 09/18] mips: use simpler access_ok()

From: Thomas Bogendoerfer
Date: Tue Feb 22 2022 - 11:36:39 EST


On Mon, Feb 21, 2022 at 03:31:23PM +0100, Arnd Bergmann wrote:
> I'll update it this way, otherwise I'd need help in form of a patch
> that changes the exception handling so __get_user/__put_user
> also return -EFAULT for an address error.

https://lore.kernel.org/all/20220222155345.138861-1-tsbogend@xxxxxxxxxxxxxxxx/

That does the trick.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]