mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
Some sanitizers need to be able to use dl_iterate_phdr() after stopping the rest of the process, but it's very hard to do so reliably as a non-participant in the main logic of the program. Introduce _dl_iterate_phdr_locked to bypass the locking that's normally required for dl_iterate_phdr() and slap some scary warning on it. It will remain undocumented and probably shouldn't be used for anything else. Reviewed by: kib (cherry picked from commit 1426fd6cff0603f0ee275b99f2ba35dc36f3d0c2)
43 lines
648 B
Text
43 lines
648 B
Text
/*
|
|
*/
|
|
|
|
FBSD_1.0 {
|
|
_rtld_error;
|
|
dlclose;
|
|
dlerror;
|
|
dlopen;
|
|
dlsym;
|
|
dlfunc;
|
|
dlvsym;
|
|
dladdr;
|
|
dllockinit;
|
|
dlinfo;
|
|
dl_iterate_phdr;
|
|
r_debug_state;
|
|
__tls_get_addr;
|
|
};
|
|
|
|
FBSD_1.3 {
|
|
fdlopen;
|
|
};
|
|
|
|
FBSD_1.8 {
|
|
rtld_get_var;
|
|
rtld_set_var;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
_dl_iterate_phdr_locked;
|
|
_rtld_thread_init;
|
|
_rtld_allocate_tls;
|
|
_rtld_free_tls;
|
|
_rtld_atfork_pre;
|
|
_rtld_atfork_post;
|
|
_rtld_addr_phdr;
|
|
_rtld_get_stack_prot;
|
|
_rtld_is_dlopened;
|
|
_r_debug_postinit;
|
|
_rtld_version__FreeBSD_version;
|
|
_rtld_version_laddr_offset;
|
|
_rtld_version_dlpi_tls_data;
|
|
};
|