Logo of The Linux Kernel

The Linux Kernel

6.18.0-rc3

快速搜尋

Contents

  • Development process
  • 提交補釘
  • 行為守則
  • 維護者手冊
  • All development-process docs
  • 核心 API
  • Driver APIs
  • 子系統
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
    • Other subsystems
  • Locking
  • Licensing rules
  • 撰寫文件
  • 開發工具
  • 測試指南
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust
  • Administration
  • 建置系統
  • 回報議題
  • 使用者空間工具
  • 使用者空間 API
  • 韌體
  • 韌體與裝置樹
  • CPU 架構
  • 未排序的文件

本頁

  • 顯示原始碼

Family binder netlink specification¶

目錄

  • 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¶

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_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 8.2.3 & Alabaster 1.0.0 | Page source