RE: [RFCv2 06/10] x86/uaccess: Remove tags from the address before checking

David Laight
2022-05-12T13:03:06Z

From: Kirill A. Shutemov
> Sent: 11 May 2022 03:28
>
> The tags must not be included into check whether it's okay to access the
> userspace address.
>
> Strip tags in access_ok().

Why?
Just change the test to check the buffer doesn't cross 1u << 63.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)