]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
loadpin: remove MODULE_COMPRESS_NONE as it is no longer supported
authorArulpandiyan Vadivel <arulpandiyan.vadivel@siemens.com>
Sun, 2 Mar 2025 10:38:31 +0000 (16:08 +0530)
committerKees Cook <kees@kernel.org>
Mon, 3 Mar 2025 17:35:50 +0000 (09:35 -0800)
Updated the MODULE_COMPRESS_NONE with MODULE_COMPRESS as it was no longer
available from kernel modules. As MODULE_COMPRESS and MODULE_DECOMPRESS
depends on MODULES removing MODULES as well.

Fixes: c7ff693fa209 ("module: Split modules_install compression and in-kernel decompression")
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan.vadivel@siemens.com>
Link: https://lore.kernel.org/r/20250302103831.285381-1-arulpandiyan.vadivel@siemens.com
Signed-off-by: Kees Cook <kees@kernel.org>
security/loadpin/Kconfig

index 848f8b4a6019064badc5eb888fa20360aec909f2..aef63d3e30dfac6ac320ede80ddc1b7e093a5e87 100644 (file)
@@ -16,7 +16,7 @@ config SECURITY_LOADPIN_ENFORCE
        depends on SECURITY_LOADPIN
        # Module compression breaks LoadPin unless modules are decompressed in
        # the kernel.
-       depends on !MODULES || (MODULE_COMPRESS_NONE || MODULE_DECOMPRESS)
+       depends on !MODULE_COMPRESS || MODULE_DECOMPRESS
        help
          If selected, LoadPin will enforce pinning at boot. If not
          selected, it can be enabled at boot with the kernel parameter