Thread (61 messages) 61 messages, 12 authors, 2022-02-16

Re: [PATCH 00/14] clean up asm/uaccess.h, kill set_fs for good

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2022-02-14 17:43:40
Also in: linux-alpha, linux-api, linux-arch, linux-arm-kernel, linux-m68k, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml, sparclinux

On Mon, Feb 14, 2022 at 8:35 AM Arnd Bergmann [off-list ref] wrote:
I did a patch for microblaze at some point, which turned out to be fairly
generic, and now ported it to most other architectures, using new generic
implementations of access_ok() and __{get,put}_kernel_nocheck().
Thanks for doing this.

Apart from the sparc64 issue with completely separate address spaces
(so access_ok() should always return true like Al pointed out), this
looks excellent to me.

Somebody should check that there aren't other cases like sparc64, but
let's merge this asap other than that.

              Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help