From: "Cody Gould" <codygould@yahoo.com.au>
To: linux-kernel@vger.kernel.org
Subject: ptrace() and clone() status?
Date: Thu, 16 Aug 2001 06:03:40 +1000 (EST) [thread overview]
Message-ID: <20010815200340.96462.qmail@web12801.mail.yahoo.com> (raw)
// Quick questions about the 2.4 series
//
Can a process ptrace() more than one process at
a time? ie: Can you PTRACE_ATTACH one process
to multiple other processes and recieve all of
their signals?
Also, there was talk some time ago about the
CLONE_PTRACE flag of clone() being changed to
send signals to the grandparent process, not
sending signals to the direct parent. Was this
change done? Is the code working?
If so, would the following be accurate:
ptrace(PTRACE_TRACEME, 0, 0, 0);
if(fork())
ptrace(PTRACE_TRACEME, 0, 0, 0);
// Although, for our purposes assume it
// actually sent signals to grandparent
Is the same as:
ptrace(PTRACE_TRACEME, 0, 0, 0);
clone(CLONE_PTRACE, 0);
I ask because I am having difficulty getting any
signals from CLONE_PTRACE'd children in my trace
parent. Please CC: replies to me as I am not on
the mailing list.
Thanks,
Cody Gould
_____________________________________________________________________________
http://shopping.yahoo.com.au - Father's Day Shopping
- Find the perfect gift for your Dad for Father's Day
reply other threads:[~2001-08-15 20:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010815200340.96462.qmail@web12801.mail.yahoo.com \
--to=codygould@yahoo.com.au \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®