Re: [PATCH v3] selftests/lam: Test get_user() LAM pointer handling

2024-11-22 Thread Maciej Wieczor-Retman
On 2024-11-22 at 11:13:44 +0200, Kirill A. Shutemov wrote: >On Fri, Nov 22, 2024 at 09:55:20AM +0100, Maciej Wieczor-Retman wrote: >> Recent change in how get_user() handles pointers [1] has a specific case >> for LAM. It assigns a different bitmask that's later used to check >> whether a pointer c

Re: [PATCH v3] selftests/lam: Test get_user() LAM pointer handling

2024-11-22 Thread Kirill A. Shutemov
On Fri, Nov 22, 2024 at 09:55:20AM +0100, Maciej Wieczor-Retman wrote: > Recent change in how get_user() handles pointers [1] has a specific case > for LAM. It assigns a different bitmask that's later used to check > whether a pointer comes from userland in get_user(). > > While currently commente

[PATCH v3] selftests/lam: Test get_user() LAM pointer handling

2024-11-22 Thread Maciej Wieczor-Retman
Recent change in how get_user() handles pointers [1] has a specific case for LAM. It assigns a different bitmask that's later used to check whether a pointer comes from userland in get_user(). While currently commented out (until LASS [2] is merged into the kernel) it's worth making changes to the