This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 26 Jan 2018 00:20:59 +0000
- Subject: [Bug dynamic-link/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does
- Auto-submitted: auto-generated
- References: <bug-22745-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22745
--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Vivek Das Mohapatra from comment #3)
> My initial plan is to implement, if I can, the RTLD_UNIQUE flag I proposed
> which would make the targeted namespace re-use the mapping already in the
> main link map - I think that's got to be the basis for whatever the final
> behaviour and semantics turn out to be.
>
> Before I sink a lot of time into this, does that sound reasonable?
No, and I wrote it out in a wiki page with some notes about why.
We should try to flesh out partial isolation first, but must keep full
isolation working for LD_AUDIT.
https://sourceware.org/glibc/wiki/LinkerNamespaces
--
You are receiving this mail because:
You are on the CC list for the bug.