diff options
author | Kees Cook <kees@kernel.org> | 2024-05-08 20:31:47 +0300 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2024-06-19 22:44:57 +0300 |
commit | 2d4cf7b190bbfadd4986bf5c34da17c1a88adf8e (patch) | |
tree | 5dc6f287f7631d6aa5732fdfae7f8d1a4ca0c947 /scripts/rustdoc_test_builder.rs | |
parent | b57a2907c9d96c56494ef25f8ec821cd0b355dd6 (diff) | |
download | linux-2d4cf7b190bbfadd4986bf5c34da17c1a88adf8e.tar.xz |
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: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions