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

Linus Torvalds torvalds at linux-foundation.org
Mon Feb 14 09:35:15 PST 2022


On Mon, Feb 14, 2022 at 8:35 AM Arnd Bergmann <arnd at kernel.org> 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



More information about the linux-snps-arc mailing list