[v2,0/2] elf: Handle ld.so with LOAD segment gaps in _dl_find_object (bug 31943)

Message ID cover.1720176100.git.fweimer@redhat.com (mailing list archive)
Headers
Series elf: Handle ld.so with LOAD segment gaps in _dl_find_object (bug 31943) |

Message

Florian Weimer July 5, 2024, 10:43 a.m. UTC
  This new version moves the program header setup code for ld.so itself to
rtld_setup_phdr.  This way, it avoids accidental reuse of an unrelated
local variable.

Thanks,
Florian

Florian Weimer (2):
  elf: Extract rtld_setup_phdr function from dl_main
  elf: Handle ld.so with LOAD segment gaps in _dl_find_object (bug
    31943)

 elf/dl-find_object.c | 76 ++++++++++++++++++++++++++---------------
 elf/rtld.c           | 81 +++++++++++++++++++++++++++++---------------
 2 files changed, 102 insertions(+), 55 deletions(-)


base-commit: 2b92982e2369d292560793bee8e730f695f48ff3