[v5,0/1] elf: Also try DT_RUNPATH for LD_AUDIT dlopen [BZ #28455]

Message ID 20220103235753.2062518-1-hjl.tools@gmail.com
Headers
Series elf: Also try DT_RUNPATH for LD_AUDIT dlopen [BZ #28455] |

Message

H.J. Lu Jan. 3, 2022, 11:57 p.m. UTC
  Changes from v4:

1. Incorporated feedbacks from Carlos:

https://sourceware.org/pipermail/libc-alpha/2021-December/134116.html

We try DT_RUNPATH in the executable only for LD_AUDIT dlopen before
LD_LIBRARY_PATH.

2. Build tst-audit14 with -Wl,--disable-new-dtags to test DT_RPATH.

H.J. Lu (1):
  elf: Also try DT_RUNPATH for LD_AUDIT dlopen [BZ #28455]

 elf/Makefile       | 11 ++++++++---
 elf/dl-load.c      | 15 +++++++++++++++
 elf/tst-audit14a.c |  1 +
 3 files changed, 24 insertions(+), 3 deletions(-)
 create mode 100644 elf/tst-audit14a.c