From 60372b88d2a4aa4cdf4f5826b7797a4e271d6355 Mon Sep 17 00:00:00 2001 From: liliangliang Date: Tue, 2 Apr 2024 11:17:08 +0800 Subject: [PATCH] ANDROID: binder: add OEM data to struct binder_alloc Add an OEM data field to binder_alloc to support OEM customized modification for binder IPC. Bug: 332423175 Change-Id: Ib1a68480aa95f2fb945a58c6cfab121d751228f3 Signed-off-by: liliangliang --- drivers/android/binder_alloc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/android/binder_alloc.h b/drivers/android/binder_alloc.h index 70387234477e..0bd725f053b2 100644 --- a/drivers/android/binder_alloc.h +++ b/drivers/android/binder_alloc.h @@ -109,6 +109,7 @@ struct binder_alloc { int pid; size_t pages_high; bool oneway_spam_detected; + ANDROID_OEM_DATA(1); }; #ifdef CONFIG_ANDROID_BINDER_IPC_SELFTEST