Re: [PATCH v3] rust_binder: fix BINDER_GET_EXTENDED_ERROR
From: Carlos Llamas
Date: Sat Jun 06 2026 - 11:06:20 EST
On Fri, Jun 05, 2026 at 11:13:50AM +0000, Alice Ryhl wrote:
> This code currently copies the ExtendedError struct to the stack,
> modifies the copy, and then doesn't modify the original. Thus, fix it.
>
> Furthermore, errors when replying must be delivered directly to the
> remote thread, so update deliver_reply() to take an extended error
> argument.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver")
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> ---
> Clearly nobody actually uses this feature
Not yet (only error logs for now), but it will soon. e.g. EAGAIN will
translate to certain transactions/commands being retried.
Acked-by: Carlos Llamas <cmllamas@xxxxxxxxxx>