Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

loadpin: remove MODULE_COMPRESS_NONE as it is no longer supported

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>

authored by

Arulpandiyan Vadivel and committed by
Kees Cook
d73ef9ec b56e601a

+1 -1
+1 -1
security/loadpin/Kconfig
··· 16 16 depends on SECURITY_LOADPIN 17 17 # Module compression breaks LoadPin unless modules are decompressed in 18 18 # the kernel. 19 - depends on !MODULES || (MODULE_COMPRESS_NONE || MODULE_DECOMPRESS) 19 + depends on !MODULE_COMPRESS || MODULE_DECOMPRESS 20 20 help 21 21 If selected, LoadPin will enforce pinning at boot. If not 22 22 selected, it can be enabled at boot with the kernel parameter