This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11214] There is a race condition in ld.so with CLONE_VM
- From: "hjl dot tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Jan 2010 13:55:21 -0000
- Subject: [Bug libc/11214] There is a race condition in ld.so with CLONE_VM
- References: <20100123163909.11214.hjl.tools@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hjl dot tools at gmail dot com 2010-01-27 13:55 -------
(In reply to comment #5)
> IMNSHO this is a gdb bug, there is no point hacking up something in this ld.so
> case when many other things break equally horribly when using CLONE_VM without
> cloning TLS - everything that uses __thread or other thread local area fields is
> broken in that case. While the kernel supports all flags for clone, glibc
> supports only a limited subset of the combinations.
Those applications don't use TLS and ld.so uses TLS behind their
back. Shouldn't ld.so use TLS only if libpthread is used?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11214
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.