Skip to content
Commit 3d40bb90 authored by Luis Chamberlain's avatar Luis Chamberlain
Browse files

module: merge remnants of setup_load_info() to elf validation



The setup_load_info() was actually had ELF validation checks of its
own. To later cache useful variables as an secondary step just means
looping again over the ELF sections we just validated. We can simply
keep tabs of the key sections of interest as we validate the module
ELF section in one swoop, so do that and merge the two routines
together.

Expand a bit on the documentation / intent / goals.

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 1bb49db9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment