From 366b1c1af269f56d6a7e6464f2862ba2bc368062 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 22 Jun 2017 18:00:34 +0100 Subject: [PATCH] CONFIG_MODVERSIONS understand attempt --- kernel_config_fragment | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel_config_fragment b/kernel_config_fragment index 89e4306..bd32212 100644 --- a/kernel_config_fragment +++ b/kernel_config_fragment @@ -33,3 +33,9 @@ CONFIG_KGDB_TESTS_ON_BOOT=n CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 CONFIG_SERIAL_KGDB_NMI=n + +# Module.symvers in kernel tree and modules tree contains CRC of signatures. +# TODO: I think the CRC are stored in the built kernel and module, and checked +# at insmod, but bgrep did not find it in kernel image. +# Does not show in /proc/kallyms either. +CONFIG_MODVERSIONS=y