binder: return pending info for frozen async txns
authorLi Li <dualli@google.com>
Wed, 23 Nov 2022 20:16:54 +0000 (12:16 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 16:14:18 +0000 (17:14 +0100)
commit0567461a7a6ecb12692e3bbb97e86ff9d39a2837
tree18fee6e936b9ca0aa5c869b89b1d45b1486dd131
parent7feb35bc16203c06362c31b95d0d2f291c0212d5
binder: return pending info for frozen async txns

An async transaction to a frozen process will still be successfully
put in the queue. But this pending async transaction won't be processed
until the target process is unfrozen at an unspecified time in the
future. Pass this important information back to the user space caller
by returning BR_TRANSACTION_PENDING_FROZEN.

Signed-off-by: Li Li <dualli@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20221123201654.589322-2-dualli@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
drivers/android/binder_internal.h
include/uapi/linux/android/binder.h