summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-08-23 15:27:03 +0000
committerkib <kib@FreeBSD.org>2010-08-23 15:27:03 +0000
commit7ca1c6f40abcb8550b7bbf0c67ceb3a73d93b342 (patch)
treec52c4110aa9d0a6124a5e19b2b8f42dd903061cb /sys
parent14144ebea8f9236e6754fdfca897ed79c43e4da3 (diff)
downloadFreeBSD-src-7ca1c6f40abcb8550b7bbf0c67ceb3a73d93b342.zip
FreeBSD-src-7ca1c6f40abcb8550b7bbf0c67ceb3a73d93b342.tar.gz
Introduce implementation-private rtld interface _rtld_addr_phdr, which
fills struct dl_phdr_info for the shared object that contains the specified address, if any. Idea and reviewed by: kan MFC after: 3 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/link_elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 98840a5..93fe1de 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -92,6 +92,7 @@ __BEGIN_DECLS
typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, void *);
extern int dl_iterate_phdr(__dl_iterate_hdr_callback, void *);
+int _rtld_addr_phdr(const void *, struct dl_phdr_info *);
__END_DECLS
OpenPOWER on IntegriCloud