]> git.ipfire.org Git - thirdparty/glibc.git/commit
dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo
authorFlorian Weimer <fweimer@redhat.com>
Fri, 29 Apr 2022 15:00:53 +0000 (17:00 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 11 May 2022 17:17:47 +0000 (19:17 +0200)
commit28ea43f8d64f0dd1f2de75525157730e1532e600
tree3cf415407f45b22a96670039e7e787b3b40cec38
parent78f82ab4ef839b52df022234aff63e2d4d7f264f
dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo

The information is theoretically available via dl_iterate_phdr as
well, but that approach is very slow if there are many shared
objects.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@rehdat.com>
(cherry picked from commit d056c212130280c0a54d9a4f72170ec621b70ce5)
dlfcn/Makefile
dlfcn/dlfcn.h
dlfcn/dlinfo.c
dlfcn/tst-dlinfo-phdr.c [new file with mode: 0644]
manual/dynlink.texi