This is the mail archive of the libc-alpha@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]

Re: dlmopen and variables in the dynamic loader


On Fri, Aug 16, 2019 at 7:44 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> dlmopen carefully replicates the initial ld.so in all namespaces.
> Unlike libc.so, ld.so is only loaded once.  This can be used to share
> state across all namespaces.

Is it possible that we should change this, and load libc.so only once
as well?  (And maybe also libpthread and libgcc_s?  I guess at that
point we need to invent a DT_ONLY_LOAD_ME_ONCE tag...)

zw


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