[PATCH 0/4] Add test case for LD_PROFILE/LD_PROFILE_OUTPUT interaction

Florian Weimer fweimer@redhat.com
Tue Jan 20 20:57:09 GMT 2026


I struggled with backporting this, so I tried to add a test case for it.
I wanted to to work it with and without path hard-coding, so I enhanced
support/ with functionality to construct the appropriate program
invocation.

Florian Weimer (4):
  support: Fix memory leaks in support_subprogram,
    support_subprogram_wait
  support: Add support_hardcoded_paths_in_test
  support: Add support_spawn_wrap and related functionality
  elf: Add test case for LD_PROFILE/LD_PROFILE_OUTPUT interaction

 elf/Makefile                     |   1 +
 elf/tst-ld_profile.c             | 139 ++++++++++++++++++
 support/Makefile                 |  13 ++
 support/subprocess.h             |  32 +++++
 support/support.h                |   3 +
 support/support_paths.c          |   2 +
 support/support_spawn_wrap.c     | 167 ++++++++++++++++++++++
 support/support_subprocess.c     |   2 +
 support/tst-support_spawn_wrap.c | 235 +++++++++++++++++++++++++++++++
 9 files changed, 594 insertions(+)
 create mode 100644 elf/tst-ld_profile.c
 create mode 100644 support/support_spawn_wrap.c
 create mode 100644 support/tst-support_spawn_wrap.c


base-commit: 04e750e75b73957cf1c791535a3f4319534a52fc
-- 
2.52.0



More information about the Libc-alpha mailing list