diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2015-01-21 01:51:10 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2015-01-21 01:51:10 -0500 |
commit | ccdb048df457d581f6ac7ede8b0c7a593a891dfa (patch) | |
tree | 9f87447c45093fb2ded95c982e68c9e6e886129c /NEWS | |
parent | 042e1521c794a945edc43b5bfa7e69ad70420524 (diff) | |
download | glibc-ccdb048df457d581f6ac7ede8b0c7a593a891dfa.tar glibc-ccdb048df457d581f6ac7ede8b0c7a593a891dfa.tar.gz glibc-ccdb048df457d581f6ac7ede8b0c7a593a891dfa.tar.bz2 glibc-ccdb048df457d581f6ac7ede8b0c7a593a891dfa.zip |
Fix recursive dlopen.
The ability to recursively call dlopen is useful for malloc
implementations that wish to load other dynamic modules that
implement reentrant/AS-safe functions to use in their own
implementation.
Given that a user malloc implementation may be called by an
ongoing dlopen to allocate memory the user malloc
implementation interrupts dlopen and if it calls dlopen again
that's a reentrant call.
This patch fixes the issues with the ld.so.cache mapping
and the _r_debug assertion which prevent this from working
as expected.
See:
https://sourceware.org/ml/libc-alpha/2014-12/msg00446.html
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,9 +15,10 @@ Version 2.21 17485, 17501, 17506, 17508, 17522, 17555, 17570, 17571, 17572, 17573, 17574, 17582, 17583, 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, 17633, 17634, 17635, 17647, 17653, 17657, 17658, 17664, - 17665, 17668, 17682, 17717, 17719, 17722, 17723, 17724, 17725, 17732, - 17733, 17744, 17745, 17746, 17747, 17748, 17775, 17777, 17780, 17781, - 17782, 17791, 17793, 17796, 17797, 17803, 17806, 17834, 17844, 17848 + 17665, 17668, 17682, 17702, 17717, 17719, 17722, 17723, 17724, 17725, + 17732, 17733, 17744, 17745, 17746, 17747, 17748, 17775, 17777, 17780, + 17781, 17782, 17791, 17793, 17796, 17797, 17803, 17806, 17834, 17844, + 17848 * A new semaphore algorithm has been implemented in generic C code for all machines. Previous custom assembly implementations of semaphore were |