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
..
2013-11-17 23:51:19 +00:00
2013-01-01 18:29:25 +00:00
2013-10-30 15:46:50 +00:00
2013-12-03 13:26:37 +00:00
2013-10-25 05:25:19 +00:00
2013-11-19 16:11:03 +00:00
2012-06-02 08:47:26 +00:00
2013-11-25 20:45:30 +00:00
2013-11-21 20:43:43 +00:00
2013-05-30 08:02:00 +00:00
2013-05-12 22:22:12 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2013-09-05 12:21:11 +00:00