From 5cc8d2e86e8b6de66fae2d9952a70dd59ca83c58 Mon Sep 17 00:00:00 2001 From: Christian Wang Date: Wed, 18 Feb 2026 13:40:20 -0500 Subject: [PATCH] Added kernel configs to enable android related modules to support waydroid --- config/kernel/linux-sm8550-edge.config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/kernel/linux-sm8550-edge.config b/config/kernel/linux-sm8550-edge.config index 9a6091d5b3..1fb0293a61 100644 --- a/config/kernel/linux-sm8550-edge.config +++ b/config/kernel/linux-sm8550-edge.config @@ -140,6 +140,7 @@ CONFIG_TASKSTATS=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y # CONFIG_PSI is not set +CONFIG_PSI=y # end of CPU/Task time and stats accounting CONFIG_CPU_ISOLATION=y @@ -7303,7 +7304,11 @@ CONFIG_RAS=y # # Android # +CONFIG_ASHMEM=m CONFIG_ANDROID_BINDER_IPC=y +CONFIG_ANDROID_LOW_MEMORY_KILLER=n +CONFIG_ANDROID_BINDERFS=y +CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder" # end of Android # CONFIG_LIBNVDIMM is not set @@ -7704,6 +7709,8 @@ CONFIG_SECURITYFS=y # CONFIG_SECURITY_SMACK is not set # CONFIG_SECURITY_TOMOYO is not set # CONFIG_SECURITY_APPARMOR is not set +CONFIG_SECURITY_APPARMOR=y +CONFIG_AUDIT=y # CONFIG_SECURITY_LOADPIN is not set # CONFIG_SECURITY_YAMA is not set # CONFIG_SECURITY_SAFESETID is not set @@ -7717,7 +7724,7 @@ CONFIG_INTEGRITY_AUDIT=y # CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set # CONFIG_EVM is not set CONFIG_DEFAULT_SECURITY_DAC=y -CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,bpf" +CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,apparmor,bpf" # # Kernel hardening options