Re: [PATCH] futex: Handle the correct robust list at compat_exit_robust_list()
From: Thomas Gleixner
Date: Tue Sep 29 2026 - 04:28:04 EST
On Mon, Sep 21 2026 at 21:54, André Almeida wrote:
> compat_exit_robust_list(), as exit_robust_list(), should handle the robust
> list from the task_struct from the function argument, not the current task
> running the function.
>
> Fixes: 2cb5251d3d64 ("futex: Provide UABI defines for robust list entry modifiers")
It actually fixes nothing because *curr is always current.
I'd rather get rid of the argument alltogether because that's just a
source of confusion.
Thanks,
tglx