This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add RTLD_RELOAD to dlopen
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 23 Jul 2017 12:16:10 +0200
- Subject: Re: [PATCH] Add RTLD_RELOAD to dlopen
- Authentication-results: sourceware.org; auth=none
- References: <20170720191517.xah6rggoaeqgbokf@var.youpi.perso.aquilenet.fr>
* Samuel Thibault:
> In our parallel programming projects, we would like to load some DSO
> several times within the same process, because we want to share the
> addresse space for passing data pointers between parallel executions,
> and the DSO has global variables and such which we want to see
> duplicated.
I think this needs a discussion of the impact on symbol binding
behavior. The behavior when dlopen is later called for the same
soname without RTLD_RELOAD needs clarification, too. And the intended
behavior needs to be demonstrated with tests.