]> www.infradead.org Git - users/jedix/linux-maple.git/commit
module: Factor out elf_validity_ehdr
authorMatthew Maurer <mmaurer@google.com>
Tue, 15 Oct 2024 23:16:36 +0000 (23:16 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 21:35:06 +0000 (14:35 -0700)
commit90f8f312db720dbabec7c6258ef580b50129cc21
tree5c73850d4ecdcc78ff9135a7f46f91a2ce3cc81a
parentf43922162184f2bd54d87c1b5e97cf72d0dd1290
module: Factor out elf_validity_ehdr

Factor out verification of the ELF header and document what is checked.

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