Re: [patch 3/8] futex: Provide UABI defines for robust list entry modifiers
From: Thomas Gleixner
Date: Tue Mar 17 2026 - 05:55:28 EST
On Mon, Mar 16 2026 at 23:38, André Almeida wrote:
> Em 16/03/2026 14:13, Thomas Gleixner escreveu:
>> The marker for PI futexes in the robust list is a hardcoded 0x1 which lacks
>> any sensible form of documentation.
>>
>> Provide proper defines for the bit and the mask and fix up the usage sites.
>>
>
> Most of the diff is about a change that's not described here.
I'll add some more blurb to it.
>> static void compat_exit_robust_list(struct task_struct *curr)
>> {
>> - struct compat_robust_list_head __user *head = curr->futex.compat_robust_list;
>> + struct compat_robust_list_head __user *head = current->futex.compat_robust_list;
>
> It seems you accidentally changed from curr-> to current->
Copy & Pasta :)