summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/module-signing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/module-signing.txt')
-rw-r--r--kernel/Documentation/module-signing.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/Documentation/module-signing.txt b/kernel/Documentation/module-signing.txt
index a78bf1ffa..39b7f612c 100644
--- a/kernel/Documentation/module-signing.txt
+++ b/kernel/Documentation/module-signing.txt
@@ -271,3 +271,9 @@ Since the private key is used to sign modules, viruses and malware could use
the private key to sign modules and compromise the operating system. The
private key must be either destroyed or moved to a secure location and not kept
in the root node of the kernel source tree.
+
+If you use the same private key to sign modules for multiple kernel
+configurations, you must ensure that the module version information is
+sufficient to prevent loading a module into a different kernel. Either
+set CONFIG_MODVERSIONS=y or ensure that each configuration has a different
+kernel release string by changing EXTRAVERSION or CONFIG_LOCALVERSION.