Skip to content

Commit d73ef9e

Browse files
arulcse2008kees
authored andcommitted
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: c7ff693 ("module: Split modules_install compression and in-kernel decompression") Signed-off-by: Arulpandiyan Vadivel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
1 parent b56e601 commit d73ef9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/loadpin/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ config SECURITY_LOADPIN_ENFORCE
1616
depends on SECURITY_LOADPIN
1717
# Module compression breaks LoadPin unless modules are decompressed in
1818
# the kernel.
19-
depends on !MODULES || (MODULE_COMPRESS_NONE || MODULE_DECOMPRESS)
19+
depends on !MODULE_COMPRESS || MODULE_DECOMPRESS
2020
help
2121
If selected, LoadPin will enforce pinning at boot. If not
2222
selected, it can be enabled at boot with the kernel parameter

0 commit comments

Comments
 (0)