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

2024-10-30 Thread Kirill A. Shutemov
On Tue, Oct 29, 2024 at 03:14:20PM +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

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

2024-10-30 Thread Maciej Wieczor-Retman
On 2024-10-30 at 14:31:51 +0200, Kirill A. Shutemov wrote: >On Tue, Oct 29, 2024 at 03:14:20PM +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

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

2024-10-29 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