From 0ee8ca39cec7bf21b76760f8992ea7c6db294804 Mon Sep 17 00:00:00 2001 From: markj Date: Tue, 6 May 2014 18:07:58 +0000 Subject: 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 --- libexec/rtld-elf/Symbol.map | 1 + 1 file changed, 1 insertion(+) (limited to 'libexec/rtld-elf/Symbol.map') 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; }; -- cgit v1.1