]> www.infradead.org Git - users/jedix/linux-maple.git/commit
module: Factor out elf_validity_cache_strtab
authorMatthew Maurer <mmaurer@google.com>
Tue, 15 Oct 2024 23:16:44 +0000 (23:16 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 21:35:07 +0000 (14:35 -0700)
commit837031e052af32c747906238fb1feb87778e4fe0
treeccfba85d2efb8bfeefd786965555a0b88e125386
parentf3f561218bb60afd6d3e3b26add39ff46de89c83
module: Factor out elf_validity_cache_strtab

This patch only moves the existing strtab population to a function.
Validation comes in a following patch, this is split out to make the new
validation checks more clearly separated.

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