Family binder netlink specification¶
Contents
Operations¶
report¶
A multicast event sent to userspace subscribers to notify them about binder transaction failures. The generated report provides the full details of the specific transaction that failed. The intention is for programs to monitor these events and react to the failures as needed.
- attribute-set
- mcgrp
report
- event
- attributes
[
error,context,from-pid,from-tid,to-pid,to-tid,is-reply,flags,code,data-size]
Multicast groups¶
report
Attribute sets¶
report¶
Attributes included within a transaction failure report. The elements correspond directly with the specific transaction that failed, along with the error returned to the sender e.g. BR_DEAD_REPLY.
error (u32)¶
- doc
The
enum binder_driver_return_protocolreturned to the sender.
context (string)¶
- doc
The binder context where the transaction occurred.
from-pid (u32)¶
- doc
The PID of the sender process.
from-tid (u32)¶
- doc
The TID of the sender thread.
to-pid (u32)¶
- doc
The PID of the recipient process. This attribute may not be present if the target could not be determined.
to-tid (u32)¶
- doc
The TID of the recipient thread. This attribute may not be present if the target could not be determined.
is-reply (flag)¶
- doc
When present, indicates the failed transaction is a reply.
flags (u32)¶
- doc
The bitmask of
enum transaction_flagsfrom the transaction.
code (u32)¶
- doc
The application-defined code from the transaction.
data-size (u32)¶
- doc
The transaction payload size in bytes.