# Family binder netlink specification

_Peios Kernel / Internals / Netlink / specs_

> Protocol reference for the binder Netlink family, generated from the Peios kernel specification.

<!-- SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) -->


<a id="rst-family-binder-netlink-specification"></a>
<a id="rst-netlink-binder"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-summary"></a>



## Summary



Binder interface over generic netlink

<a id="rst-operations"></a>



## Operations

<a id="rst-report"></a>
<a id="rst-binder-operation-report"></a>



### 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**:

  [report](#rst-binder-attribute-set-report)

- **mcgrp**:

  report

- **event**:

  - **attributes**:

    \[`error`, `context`, `from-pid`, `from-tid`, `to-pid`, `to-tid`, `is-reply`, `flags`, `code`, `data-size`\]

<a id="rst-multicast-groups"></a>



## Multicast groups

- report


<a id="rst-attribute-sets"></a>



## Attribute sets

<a id="rst-report-1"></a>
<a id="rst-binder-attribute-set-report"></a>



### 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.

<a id="rst-error-u32"></a>



#### error (`u32`)

- **doc**:

  The enum binder\_driver\_return\_protocol returned to the sender.

<a id="rst-context-string"></a>



#### context (`string`)

- **doc**:

  The binder context where the transaction occurred.

<a id="rst-from-pid-u32"></a>



#### from-pid (`u32`)

- **doc**:

  The PID of the sender process.

<a id="rst-from-tid-u32"></a>



#### from-tid (`u32`)

- **doc**:

  The TID of the sender thread.

<a id="rst-to-pid-u32"></a>



#### to-pid (`u32`)

- **doc**:

  The PID of the recipient process. This attribute may not be present if the target could not be determined.

<a id="rst-to-tid-u32"></a>



#### to-tid (`u32`)

- **doc**:

  The TID of the recipient thread. This attribute may not be present if the target could not be determined.

<a id="rst-is-reply-flag"></a>



#### is-reply (`flag`)

- **doc**:

  When present, indicates the failed transaction is a reply.

<a id="rst-flags-u32"></a>



#### flags (`u32`)

- **doc**:

  The bitmask of enum transaction\_flags from the transaction.

<a id="rst-code-u32"></a>



#### code (`u32`)

- **doc**:

  The application-defined code from the transaction.

<a id="rst-data-size-u32"></a>



#### data-size (`u32`)

- **doc**:

  The transaction payload size in bytes.
