summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorArulpandiyan Vadivel <arulpandiyan.vadivel@siemens.com>2025-03-02 16:08:31 +0530
committerKees Cook <kees@kernel.org>2025-03-03 09:35:50 -0800
commitd73ef9ec8794c4dad25774d655a8f284ad9ff641 (patch)
treebc620dc6173733bc97c51551fabb518312716d88 /security
parentb56e601afb3fdd0b0c4604a2778e642ababc5414 (diff)
downloadlinux-d73ef9ec8794c4dad25774d655a8f284ad9ff641.tar.gz
linux-d73ef9ec8794c4dad25774d655a8f284ad9ff641.tar.bz2
linux-d73ef9ec8794c4dad25774d655a8f284ad9ff641.zip
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>
Diffstat (limited to 'security')
-rw-r--r--security/loadpin/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/loadpin/Kconfig b/security/loadpin/Kconfig
index 848f8b4a6019..aef63d3e30df 100644
--- a/security/loadpin/Kconfig
+++ b/security/loadpin/Kconfig
@@ -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