This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/17702] Support recursive dlopen.


https://sourceware.org/bugzilla/show_bug.cgi?id=17702

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
commit ccdb048df457d581f6ac7ede8b0c7a593a891dfa
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Wed Jan 21 01:51:10 2015 -0500

    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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]