[PATCH v1 1/1] binder: return pending info for frozen async txns

2022-11-03 Thread Li Li
From: Li Li An async transaction to a frozen process will still be successsfully 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

[PATCH v1 0/1] binder: return pending info for frozen async txns

2022-11-03 Thread Li Li
From: Li Li User applications need to know if their binder transactions reach a frozen process or not. For sync binder calls, Linux kernel already has a dedicated return value BR_FROZEN_REPLY, indicating this sync binder transaction will be rejected (similar to BR_DEAD_REPLY) as the target