diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-05 16:01:12 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-12-02 11:38:14 +0100 |
commit | b7d4de086ce7fcc531cdd67a61dc27b5b3eff482 (patch) | |
tree | 6976dc87fc000170f011fd3aa64c0a9da6dc2ab2 /sysdeps/unix/sysv/linux/test-errno-linux.c | |
parent | 3c2b9dc41cd05da055fae6f793a355063156bdf3 (diff) | |
download | glibc-b7d4de086ce7fcc531cdd67a61dc27b5b3eff482.zip glibc-b7d4de086ce7fcc531cdd67a61dc27b5b3eff482.tar.gz glibc-b7d4de086ce7fcc531cdd67a61dc27b5b3eff482.tar.bz2 |
manual: Describe struct link_map, support link maps with dlinfo
This does not describe how to use RTLD_DI_ORIGIN and l_name
to reconstruct a full path for the an object. The reason
is that I think we should not recommend further use of
RTLD_DI_ORIGIN due to its buffer overflow potential (bug 24298).
This should be covered by another dlinfo extension. It would
also obsolete the need for the dladdr approach to obtain
the file name for the main executable.
Obtaining the lowest address from load segments in program
headers is quite clumsy and should be provided directly
via dlinfo.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/test-errno-linux.c')
0 files changed, 0 insertions, 0 deletions