Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2d4cf7b1 authored by Kees Cook's avatar Kees Cook
Browse files

binfmt_elf: Calculate total_size earlier

In preparation to support PT_LOAD with large p_align values on
non-PT_INTERP ET_DYN executables (i.e. "static pie"), we'll need to use
the total_size details earlier. Move this separately now to make the
next patch more readable. As total_size and load_bias are currently
calculated separately, this has no behavioral impact.

Link: https://lore.kernel.org/r/20240508173149.677910-2-keescook@chromium.org


Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent b57a2907
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment