* Is this a clone() failing?
@ 2001-10-22 15:13 Tom Horsley
0 siblings, 0 replies; only message in thread
From: Tom Horsley @ 2001-10-22 15:13 UTC (permalink / raw)
To: linux-kernel
Consider the case of a debugger which also happens to be a multi-threaded
application. From what I understand, clone() is supposed to allow you to
inherit all attributes so the different threads can act like they are really
part of the same program, but it turns out that the thread which does the
ptrace "attach" is the only thread the kernel thinks should be allowed to do
any other operations on the process being debugged.
Should there be a new "clone debug privileges" flag?
Or is this just something (multi-threaded) debuggers have to live with?
(It wasn't too hard to force a single thread to always be the one that does
all ptrace() calls).
--
Tom.Horsley@mail.ccur.com \\\\ Will no one rid me of
Concurrent Computers, Ft. Lauderdale, FL \\\\ this troublesome
Me: http://home.att.net/~Tom.Horsley/ \\\\ autoconf?
Project Vote Smart: http://www.vote-smart.org \\\\ !!!!!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-10-22 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-22 15:13 Is this a clone() failing? Tom Horsley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox