Thread (75 messages) 75 messages, 14 authors, 2022-02-25

Re: [PATCH v2 07/18] nios2: drop access_ok() check from __put_user()

From: Christoph Hellwig <hch@lst.de>
Date: 2022-02-18 06:30:04
Also in: linux-alpha, linux-api, linux-arch, linux-m68k, linux-mips, linux-mm, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml, sparclinux

On Wed, Feb 16, 2022 at 02:13:21PM +0100, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@arndb.de>

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()
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help