Re: [PATCH] rust_binder: decrement requested_thread_count on BR_SPAWN_LOOPER write failure
From: Alice Ryhl
Date: Sun Nov 29 2026 - 05:36:05 EST
I don't think we should take this patch: in general, -EFAULT from an
illegal userspace buffer is fatal in Binder and we don't need to recover
from it. (Also, C Binder does not decrement proc->requested_threads on
put_user(BR_SPAWN_LOOPER) failure either.)
See also: https://lore.kernel.org/r/20261129103508.897811-1-aliceryhl@xxxxxxxxxx
Alice