1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/lib/libc
Konstantin Belousov a7afea4382 Do not force to run atexit handlers, which text comes from a dso
owning the handle passed to __cxa_finalize() but which are registered
by other dso, when the process is inside exit(3).

Running them makes the destruction order wrong, and there is hope that
such destructors would not call dlclose(3), since it is pointless at
this stage of the process existence.

The change effectively disables the r211706 after the exit(3) is
called.

Reported and tested by:	Michael Gmelin <freebsd@grem.de>
Analyzed by:	dim
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-12-06 21:26:57 +00:00
..
amd64 Introduce a WEAK_REFERENCE() alias and use it. Get rid of the CNAME and the 2013-11-21 21:25:58 +00:00
arm On ARM EABI double precision floating point values are stored in the 2013-09-07 14:04:10 +00:00
capability - Add manual pages for capability rights (rights(4)), cap_rights_init(3) 2013-11-04 14:10:22 +00:00
compat-43
db db: Use O_CLOEXEC instead of separate fcntl() call. 2013-08-13 19:20:50 +00:00
gdtoa
gen - Add manual pages for capability rights (rights(4)), cap_rights_init(3) 2013-11-04 14:10:22 +00:00
gmon libc: Use O_CLOEXEC when writing gmon files (cc -pg). 2013-08-13 21:45:48 +00:00
i386 Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it and 2013-11-21 22:31:18 +00:00
ia64 The getcontext() from the __fillcontextx() call in the 2013-05-28 04:54:16 +00:00
iconv Move the iconv wrapper source from libc_nonshared to libc/iconv so that 2013-11-25 20:17:55 +00:00
include Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
inet
isc
locale Replace the #define for "iconv" so it is for the function name instead of 2013-07-03 07:03:19 +00:00
mips Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nameser
net Remove an unused variable and fix a memory leak in sctp_connectx(). 2013-09-19 06:19:24 +00:00
nls POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos. 2013-05-04 19:07:22 +00:00
posix1e Fix typo. 2013-11-12 12:23:54 +00:00
powerpc Get rid of the CONCAT macro. 2013-11-23 18:50:43 +00:00
powerpc64 Get rid of the CONCAT macro. 2013-11-23 18:50:43 +00:00
quad
regex
resolv libc: Make resolver sockets close-on-exec (SOCK_CLOEXEC). 2013-09-06 23:49:54 +00:00
rpc There is no file under SISSL after license replacement in r258581. 2013-11-25 19:24:15 +00:00
softfloat
sparc64 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
stdio Add missing include files for the printf_l and scanf_l man pages. 2013-11-17 02:03:45 +00:00
stdlib Do not force to run atexit handlers, which text comes from a dso 2013-12-06 21:26:57 +00:00
stdtime
string Fix typo: site_t -> size_t 2013-11-10 04:06:46 +00:00
sys mdoc: remove EOL whitespace. 2013-12-06 21:22:33 +00:00
uuid
xdr Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
yp
libc.ldscript Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile Move the iconv wrapper source from libc_nonshared to libc/iconv so that 2013-11-25 20:17:55 +00:00
Versions.def