]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
module: Factor out elf_validity_cache_index_mod
authorMatthew Maurer <mmaurer@google.com>
Tue, 15 Oct 2024 23:16:40 +0000 (23:16 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 21:35:07 +0000 (14:35 -0700)
commit0be41a9367d1fbb16b4b57d81082341af114bad7
tree9c809805b2c329bef65bb3bbfff2338bff4884ac
parentfbc0e4e482aac7f2b0d20f0a11f6d5eeda346fda
module: Factor out elf_validity_cache_index_mod

Centralize .gnu.linkonce.this_module detection and property validation.

Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/main.c