]> sourceware.org Git - glibc.git/commit
elf: Also try DT_RUNPATH for LD_AUDIT dlopen [BZ #28455]
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Oct 2021 17:44:49 +0000 (10:44 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Jan 2022 12:56:08 +0000 (04:56 -0800)
commitbfb5ed5df3dd4d9507b4922248dc445b690d19c0
tree844dc10ce1770a0d44c8d372e021d3053c2e7f43
parent7ac2bee49540b87e6e1c309e23ea170b0fa6e5df
elf: Also try DT_RUNPATH for LD_AUDIT dlopen [BZ #28455]

DT_RUNPATH is only used to find the immediate dependencies of the
executable or shared object containing the DT_RUNPATH entry.  Update
LD_AUDIT dlopen call to try the DT_RUNPATH entry of the executable.

Add tst-audit14a, which is copied from tst-audit14, to DT_RUNPATH and
build tst-audit14 with -Wl,--disable-new-dtags to test DT_RPATH.

This partially fixes BZ #28455.
elf/Makefile
elf/dl-load.c
elf/tst-audit14a.c [new file with mode: 0644]
This page took 0.043975 seconds and 5 git commands to generate.