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/14511] dlclose DSO unloading fundamentally unsafe


http://sourceware.org/bugzilla/show_bug.cgi?id=14511

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at redhat dot com
         Resolution|                            |INVALID

--- Comment #5 from Jakub Jelinek <jakub at redhat dot com> 2012-08-23 06:50:25 UTC ---
The testcase is invalid.  As Paul said, you can use DF_1_NODELETE on libraries
that you don't want to unload ever, or if a library (libfoo) in this case
performs a cal to a function from libbar, it will have a dynamic dependency on
libbar through symbol resolution and thus would allow libbar to be unmapped
only when libfoo is about to go away too.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]