mako: disable support for loadable modules
mako does not need loadable kernel modules; disabling support for them reduces
the attack surface on the kernel
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/arch/arm/configs/mako_defconfig b/arch/arm/configs/mako_defconfig
index 58160ab..d43dc59 100644
--- a/arch/arm/configs/mako_defconfig
+++ b/arch/arm/configs/mako_defconfig
@@ -30,7 +30,7 @@
CONFIG_PROFILING=y
CONFIG_OPROFILE=y
CONFIG_KPROBES=y
-CONFIG_MODULES=y
+# CONFIG_MODULES is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y