diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-19 14:35:41 -0700 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-24 11:33:08 -0700 |
commit | 3d40bb903ed1f654707d34bdd61ee2c332000e4b (patch) | |
tree | 1e699e99326e12441d5eca0773f11683597d5810 /kernel/Makefile | |
parent | 1bb49db9919a4d4186cba288930e7026d8f7ec96 (diff) | |
download | linux-stable-3d40bb903ed1f654707d34bdd61ee2c332000e4b.tar.gz linux-stable-3d40bb903ed1f654707d34bdd61ee2c332000e4b.tar.bz2 linux-stable-3d40bb903ed1f654707d34bdd61ee2c332000e4b.zip |
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: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions