This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [Meta?] Where do I post proposals/ideas?
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: libc-help at sourceware dot org
- Date: Thu, 08 Jan 2015 09:33:09 -0200
- Subject: Re: [Meta?] Where do I post proposals/ideas?
- Authentication-results: sourceware.org; auth=none
- References: <54ADE3B3 dot 9020003 at gmail dot com> <CALoOobPtd6VX3XZjOcna0VxQc9+ZQ_ksajTONYn=C3Vo6fPZow at mail dot gmail dot com> <54AE48A6 dot 2020901 at gmail dot com>
On 08-01-2015 07:06, Soni L. wrote:
>
> On 08/01/15 02:13 AM, Paul Pluzhnikov wrote:
>> On Wed, Jan 7, 2015 at 5:56 PM, Soni L. <fakedme@gmail.com> wrote:
>>
>>> This is my proposal/idea:
>> 1. What actual problem does your proposal solve?
>> 2. Are you aware of dlmopen ?
>>
>
> Oh great I derped when configuring that gmail alias >.>
>
> 1. It solves a problem when loading 2 different <Lua/Python/insert something else> versions where you can't load extensions. For example, if you load Python 2 and Python 3, you can make it so trying to load Python 2 modules works, but then you wouldn't be able to load Python 3 modules, or vice-versa.
>
> 2. `man dlmopen`: No manual entry for dlmopen
>
dlfcn/dlfcn.h :
#ifdef __USE_GNU
[...]
/* Type for namespace indeces. */
typedef long int Lmid_t;
/* Special namespace ID values. */
# define LM_ID_BASE 0 /* Initial namespace. */
# define LM_ID_NEWLM -1 /* For dlmopen: request new namespace. */
[...]
/* Like `dlopen', but request object to be allocated in a new namespace. */
extern void *dlmopen (Lmid_t __nsid, const char *__file, int __mode) __THROWNL;
/* Find the run-time address in the shared object HANDLE refers to
of the symbol called NAME with VERSION. */
extern void *dlvsym (void *__restrict __handle,
const char *__restrict __name,
const char *__restrict __version)
__THROW __nonnull ((2, 3));
#endif