Re: [PATCH] futex: Handle the correct robust list at compat_exit_robust_list()

From: André Almeida

Date: Tue Sep 29 2026 - 09:18:22 EST




Em 29/09/2026 05:22, Thomas Gleixner escreveu:
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.


Ack, thanks for having a look.

Thanks,

tglx