On Mon, 19 Oct 2026 at 23:21, David Laight <[email protected]> wrote:
>
> There should also be very few (if any) access_ok() calls outside of the code
> that implements user copies.

Note that that branch only removes __get_user/__put_user - and only on x86.

So there's still a lot of valid access_ok() calls left. Some are
around things like raw_copy_to/from_user() etc.

But some are around things that just want to verify that it's a valid
user address for other reasons. On example is in fork.c that just
checks that the stack that is supplied is ok.

But yes, the branch does remove a number of access_ok() calls. Fewer
than you'd maybe think, though.

                  Linus

Reply via email to