mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
Introduce a generic netlink multicast event to report binder transaction failures to userspace. This allows subscribers to monitor these events and take appropriate actions, such as stopping a misbehaving application that is spamming a service with huge amount of transactions. The multicast event contains full details of the failed transactions, including the sender/target PIDs, payload size and specific error code. This interface is defined using a YAML spec, from which the UAPI and kernel headers and source are auto-generated. Signed-off-by: Li Li <[email protected]> Signed-off-by: Carlos Llamas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
21 lines
476 B
C
21 lines
476 B
C
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
|
|
/* Do not edit directly, auto-generated from: */
|
|
/* Documentation/netlink/specs/binder.yaml */
|
|
/* YNL-GEN kernel header */
|
|
|
|
#ifndef _LINUX_BINDER_GEN_H
|
|
#define _LINUX_BINDER_GEN_H
|
|
|
|
#include <net/netlink.h>
|
|
#include <net/genetlink.h>
|
|
|
|
#include <uapi/linux/android/binder_netlink.h>
|
|
|
|
enum {
|
|
BINDER_NLGRP_REPORT,
|
|
};
|
|
|
|
extern struct genl_family binder_nl_family;
|
|
|
|
#endif /* _LINUX_BINDER_GEN_H */
|