From 165daa7b1c01a08133478bbb3587858c3a0be2b8 Mon Sep 17 00:00:00 2001 From: Matthias Maennich Date: Wed, 4 Mar 2020 22:53:07 +0000 Subject: [PATCH] ANDROID: abi_gki_aarch64_whitelist: add module_layout and task_struct The module_layout symbol is a special case that is always kept exported, even with CONFIG_TRIM_UNUSED_KSYMS=y. task_struct is special in a different way. It can be accessed without the use of an exported symbol through direct register access. Add them to the global whitelist to ensure they are kept stable. Bug: 148277666 Bug: 147380000 Change-Id: Ib7ff326fd25da773e4dadc273ff60ec37b9f2bff Signed-off-by: Matthias Maennich --- abi_gki_aarch64_whitelist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/abi_gki_aarch64_whitelist b/abi_gki_aarch64_whitelist index e70ef13f4df5..233ea230c8b5 100644 --- a/abi_gki_aarch64_whitelist +++ b/abi_gki_aarch64_whitelist @@ -1,2 +1,4 @@ [abi_whitelist] - dummy_symbol +# commonly used symbols + module_layout + __put_task_struct