summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Symbol.map
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-05-06 18:07:58 +0000
committermarkj <markj@FreeBSD.org>2014-05-06 18:07:58 +0000
commit0ee8ca39cec7bf21b76760f8992ea7c6db294804 (patch)
tree72114c7d2042a9232bde1200b19161d465f46359 /libexec/rtld-elf/Symbol.map
parentebf0ea80e499282d74b1d15f6751c4bee0d019c9 (diff)
downloadFreeBSD-src-0ee8ca39cec7bf21b76760f8992ea7c6db294804.zip
FreeBSD-src-0ee8ca39cec7bf21b76760f8992ea7c6db294804.tar.gz
Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt
the victim process before its entry point is called, at which point probes and DOF data are registered with the kernel. The r_debug_state hook cannot be used for this purpose, as it is called before the program's init routines are invoked and in particular before DOF data is registered (via drti.o). Reviewed by: kib MFC after: 2 weeks
Diffstat (limited to 'libexec/rtld-elf/Symbol.map')
-rw-r--r--libexec/rtld-elf/Symbol.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Symbol.map b/libexec/rtld-elf/Symbol.map
index 9ad6251..e82b1d4 100644
--- a/libexec/rtld-elf/Symbol.map
+++ b/libexec/rtld-elf/Symbol.map
@@ -30,4 +30,5 @@ FBSDprivate_1.0 {
_rtld_atfork_post;
_rtld_addr_phdr;
_rtld_get_stack_prot;
+ _rtld_debug_postinit;
};
OpenPOWER on IntegriCloud