summaryrefslogtreecommitdiffstats
path: root/kernel/tracepoint.c
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-03-19 22:35:41 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 19:33:08 +0100
commit3d40bb903ed1f654707d34bdd61ee2c332000e4b (patch)
tree1e699e99326e12441d5eca0773f11683597d5810 /kernel/tracepoint.c
parentmodule: move more elf validity checks to elf_validity_check() (diff)
downloadlinux-3d40bb903ed1f654707d34bdd61ee2c332000e4b.tar.xz
linux-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/tracepoint.c')
0 files changed, 0 insertions, 0 deletions