mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-21 07:15:49 +00:00
4b202f4faf
LSan wants to be able to register atfork handlers at __lsan_init time, which can happen either at the first intercepted function call or in a .preinit_array function. Both of these end up being very early in rtld and executed with the bind lock held, which ends up causing problems when we go to _libpthread_init(). Instead of requiring libpthread to be initialized, just insert the new atfork handler straight into the list if it's not ready yet. The critical section and locking should not be necessary if we're really executing this early, as there won't be any threads to contend with. Reviewed by: kib (earlier version), markj Differential Revision: https://reviews.freebsd.org/D47349 |
||
---|---|---|
.. | ||
atf | ||
clang | ||
csu | ||
geom | ||
googletest | ||
lib9p | ||
lib80211 | ||
libalias | ||
libarchive | ||
libauditd | ||
libbe | ||
libbearssl | ||
libbegemot | ||
libblacklist | ||
libblocksruntime | ||
libbluetooth | ||
libbsddialog | ||
libbsdstat | ||
libbsm | ||
libbsnmp | ||
libbz2 | ||
libc | ||
libc_nonshared | ||
libc++ | ||
libc++experimental | ||
libcalendar | ||
libcam | ||
libcapsicum | ||
libcasper | ||
libcbor | ||
libclang_rt | ||
libcom_err | ||
libcompat | ||
libcompiler_rt | ||
libcrypt | ||
libcuse | ||
libcxxrt | ||
libdevctl | ||
libdevdctl | ||
libdevinfo | ||
libdevstat | ||
libdiff | ||
libdl | ||
libdpv | ||
libdwarf | ||
libedit | ||
libefivar | ||
libelf | ||
libelftc | ||
libevent1 | ||
libexecinfo | ||
libexpat | ||
libfdt | ||
libfetch | ||
libfido2 | ||
libfigpar | ||
libgcc_eh | ||
libgcc_s | ||
libgeom | ||
libgpio | ||
libgssapi | ||
libiconv_modules | ||
libifconfig | ||
libipsec | ||
libipt | ||
libiscsiutil | ||
libjail | ||
libkiconv | ||
libkldelf | ||
libkvm | ||
libldns | ||
liblua | ||
liblutok | ||
liblzma | ||
libmagic | ||
libmd | ||
libmemstat | ||
libmilter | ||
libmixer | ||
libmp | ||
libmt | ||
libnetbsd | ||
libnetgraph | ||
libnetmap | ||
libnv | ||
libnvmf | ||
libomp | ||
libopenbsd | ||
libopencsd | ||
libpam | ||
libpathconv | ||
libpcap | ||
libpe | ||
libpfctl | ||
libpjdlog | ||
libpmc | ||
libpmcstat | ||
libproc | ||
libprocstat | ||
libradius | ||
libregex | ||
librpcsec_gss | ||
librpcsvc | ||
librss | ||
librt | ||
librtld_db | ||
libsbuf | ||
libsdp | ||
libsecureboot | ||
libsm | ||
libsmb | ||
libsmdb | ||
libsmutil | ||
libsqlite3 | ||
libssp | ||
libssp_nonshared | ||
libstats | ||
libstdbuf | ||
libstdthreads | ||
libsys | ||
libsysdecode | ||
libtacplus | ||
libtelnet | ||
libthr | ||
libthread_db | ||
libucl | ||
libufs | ||
libugidfw | ||
libulog | ||
libunbound | ||
libusb | ||
libusbhid | ||
libutil | ||
libveriexec | ||
libvgl | ||
libvmmapi | ||
libwrap | ||
libxo | ||
liby | ||
libypclnt | ||
libz | ||
libzstd | ||
msun | ||
ncurses | ||
nss_tacplus | ||
ofed | ||
tests | ||
Makefile | ||
Makefile.inc |