Files
Li Li 2e05770b48 BACKPORT: FROMGIT: binder: introduce transaction reports via netlink
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 <dualli@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20250727182932.2499194-4-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 372832477
(cherry picked from commit 63740349eba78f242bcbf60d5244d7f2b2600853
 git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-next)
[cmllamas: fix missing t->is_reply, fix ABI header include issue]
Change-Id: I7013f9bba450f7ab3331dd850314a7b62af58818
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2025-08-27 13:00:40 -07:00
..
2024-04-15 13:42:38 +02:00
2021-01-25 18:44:44 +01:00
2025-02-17 10:05:04 +01:00
2021-11-01 13:36:08 +00:00
2022-08-11 10:31:19 -07:00
2024-08-20 14:02:22 -04:00
2024-08-28 06:53:58 -07:00
2025-07-10 16:01:38 +00:00
2022-06-07 10:20:42 -07:00
2019-10-09 22:31:14 -04:00
2019-09-25 17:51:39 -07:00
2021-11-26 16:48:59 +01:00
2024-08-28 06:53:58 -07:00
2023-01-20 09:33:22 +00:00
2024-04-08 14:10:45 +01:00
2024-06-11 12:57:49 -05:00
2020-07-19 19:20:22 -07:00
2023-03-16 21:20:32 -07:00
2023-09-21 19:22:05 +02:00
2022-08-10 13:49:50 +01:00
2021-02-08 13:01:24 +01:00
2024-05-07 01:35:57 +02:00
2024-08-29 10:39:37 +02:00
2021-11-15 07:53:10 -08:00
2024-04-01 10:49:28 +01:00
2020-04-20 12:43:24 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-06-01 07:28:21 +02:00
2022-09-20 09:13:38 +02:00
2025-04-20 10:15:55 +02:00
2017-11-28 16:54:00 +01:00
2024-08-19 22:36:26 -04:00
2021-03-10 09:34:06 +01:00
2023-12-15 17:01:30 +01:00
2024-09-06 08:31:40 -06:00
2024-09-11 20:44:32 -07:00
2022-09-07 16:46:03 +02:00
2024-08-12 17:50:34 -07:00
2015-04-23 15:16:14 -04:00
2023-11-28 19:05:16 +00:00
2018-01-16 16:47:29 +01:00
2024-09-19 14:25:26 -05:00
2019-10-02 20:32:27 -06:00
2019-01-22 10:21:45 +01:00
2019-07-30 20:34:34 +02:00
2018-03-20 03:17:41 +02:00
2023-12-20 19:26:31 -05:00
2020-03-29 22:30:57 -07:00
2022-11-17 11:04:23 -08:00
2021-01-07 16:17:32 +01:00
2022-09-27 17:29:09 -07:00
2018-09-03 13:29:38 +02:00
2023-12-29 11:58:24 -08:00
2023-03-23 17:25:46 +01:00
2019-08-01 21:49:46 +02:00
2021-06-12 13:16:45 -07:00
2020-07-13 15:32:56 -07:00