X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=Documentation%2Fmodule-signing.txt;h=f0e3361db20caf7fda2d4acd85bcc2fbaaa1b59c;hb=7932aa1e43b4d4117be7671bb299103e549aec11;hp=696d5caf4fd891d29bda1f12fc4171ac38c4fb81;hpb=b340941af9d85ca74d3efacb7210e95296c484aa;p=cascardo%2Flinux.git diff --git a/Documentation/module-signing.txt b/Documentation/module-signing.txt index 696d5caf4fd8..f0e3361db20c 100644 --- a/Documentation/module-signing.txt +++ b/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.