]> www.infradead.org Git - users/hch/misc.git/commit
module: Factor out elf_validity_cache_index_str
authorMatthew Maurer <mmaurer@google.com>
Tue, 15 Oct 2024 23:16:42 +0000 (23:16 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 21:35:07 +0000 (14:35 -0700)
commit0a9395334496d3be8bde491e46087540cb8f141d
tree4aafb294be66b66df557b9b4f293c8f50b30f126
parent9bd4982cf7d65f4c9e0793d5a8fda6ad838e8554
module: Factor out elf_validity_cache_index_str

Pull out index validation for the symbol string section.

Note that this does not validate the *contents* of the string table,
only shape and presence of the section.

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