From 425c421e777051162d1a69a9428d67043a295ae6 Mon Sep 17 00:00:00 2001 From: Vincent Donnefort Date: Tue, 14 Mar 2023 09:01:21 +0000 Subject: [PATCH] ANDROID: CONFIG_MODPROBE_PATH to toolbox's modprobe Early loading of pKVM modules (i.e. before deprivilege) implies to let the kernel call modprobe. Notice this doesn't really enable request_module: UMH is still "disabled" due to CONFIG_STATIC_USERMODEHELPER_PATH="". Bug: 254835242 Change-Id: I753ac4177e5017f7d913804bb8439f676d7c2fd8 Signed-off-by: Vincent Donnefort --- arch/arm64/configs/gki_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 5aee80801e16..4675ce9fab0a 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -87,6 +87,7 @@ CONFIG_MODVERSIONS=y CONFIG_MODULE_SCMVERSION=y CONFIG_MODULE_SIG=y CONFIG_MODULE_SIG_PROTECT=y +CONFIG_MODPROBE_PATH="/system/bin/modprobe" CONFIG_BLK_DEV_ZONED=y CONFIG_BLK_DEV_THROTTLING=y CONFIG_BLK_INLINE_ENCRYPTION=y