Alexander Kabaev 61adda8468 Make sure internal rtld malloc routines are not called from unlocked
contexts as rtld's malloc is not thread safe and is only supposed to be
called with exclusive bind lock already held.

The originating PR submitted a patch on top of different pre-requisite
workaroud for unsafe dlopen calls, and the patch was midief slighlty to apply
to stock sources for the purpose of this commit. Running rtld malloc from
unlocked contexts is a bug on its own.

PR: 126950
Submited by: Oleg Dolgov
2008-09-03 01:05:32 +00:00
..
2007-07-24 06:41:07 +00:00
2005-02-13 22:25:33 +00:00
2006-07-27 12:05:05 +00:00
2005-01-14 12:22:57 +00:00
2008-03-26 07:32:08 +00:00
2007-07-03 12:46:08 +00:00
2005-02-13 22:25:33 +00:00