Logo of The Linux Kernel

The Linux Kernel

next-20250821

Quick search

Contents

  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs
  • Core API
  • Driver APIs
  • Subsystems
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
    • Other subsystems
  • Locking
  • Licensing rules
  • Writing documentation
  • Development tools
  • Testing guide
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust
  • Administration
  • Build system
  • Reporting issues
  • Userspace tools
  • Userspace API
  • Firmware
  • Firmware and Devicetree
  • CPU architectures
  • Unsorted documentation
  • Translations

This Page

  • Show Source

Family binder netlink specification¶

Contents

  • Family binder netlink specification

    • Summary

    • Operations

      • report

    • Multicast groups

    • Attribute sets

      • report

Summary¶

Binder interface over generic netlink

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:

report

mcgrp:

report

event:

{‘attributes’: [‘error’, ‘context’, ‘from_pid’, ‘from_tid’, ‘to_pid’, ‘to_tid’, ‘is_reply’, ‘flags’, ‘code’, ‘data_size’], ‘__lineno__’: 77}

Multicast groups¶

  • report

Attribute sets¶

report¶

error (u32)¶

doc:

The enum binder_driver_return_protocol returned 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_flags from the transaction.

code (u32)¶

doc:

The application-defined code from the transaction.

data_size (u32)¶

doc:

The transaction payload size in bytes.

©The kernel development community. | Powered by Sphinx 7.4.7 & Alabaster 0.7.16 | Page source