From: "H.J. Lu" <hjl.tools@gmail.com>
To: GDB <gdb@sourceware.org>
Subject: Is CLONE_VM really needed in gdbserver?
Date: Tue, 26 Jan 2010 23:51:00 -0000 [thread overview]
Message-ID: <6dc9ffc81001261551j6221db6v88e96713d6dd9497@mail.gmail.com> (raw)
Hi,
There is a race condition between gdbserver and ld.so on Linux/x86-64:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=11214
Is CLONE_VM really needed? In general, CLONE_VM is a very bad
idea if there is any symbol lookup in both parent and child processes.
Thanks.
H.J.
---
next reply other threads:[~2010-01-26 23:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 23:51 H.J. Lu [this message]
2010-01-27 0:08 ` Daniel Jacobowitz
2010-01-27 22:12 ` [patch] Fix CLONE_VM vs. TLS [Re: Is CLONE_VM really needed in gdbserver?] Jan Kratochvil
2010-01-28 16:22 ` H.J. Lu
2010-01-28 17:01 ` Daniel Jacobowitz
2010-01-29 1:26 ` Jan Kratochvil
2010-01-29 2:30 ` Daniel Jacobowitz
2010-01-29 12:41 ` Jan Kratochvil
2010-02-01 20:20 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dc9ffc81001261551j6221db6v88e96713d6dd9497@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox