[PATCH 11/14] sparc64: remove CONFIG_SET_FS support

Arnd Bergmann arnd at kernel.org
Thu Feb 17 00:07:00 AEDT 2022


On Tue, Feb 15, 2022 at 1:48 AM Al Viro <viro at zeniv.linux.org.uk> wrote:
>
> On Mon, Feb 14, 2022 at 05:34:49PM +0100, Arnd Bergmann wrote:
>
> > -/*
> > - * Sparc64 is segmented, though more like the M68K than the I386.
> > - * We use the secondary ASI to address user memory, which references a
> > - * completely different VM map, thus there is zero chance of the user
> > - * doing something queer and tricking us into poking kernel memory.
>
> Actually, this part of comment probably ought to stay - it is relevant
> for understanding what's going on (e.g. why is access_ok() always true, etc.)

Ok, I've put it back now.

       Arnd


More information about the Linuxppc-dev mailing list