From: "Davda, Bhavesh P \(Bhavesh\)" <bhavesh@avaya.com>
To: "Daniel Jacobowitz" <dan@debian.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: [RFC PATCH] New SA_NOPRNOTIF sigaction flag
Date: Mon, 3 Oct 2005 09:21:00 -0600 [thread overview]
Message-ID: <21FFE0795C0F654FAD783094A9AE1DFC0874921D@cof110avexu4.global.avaya.com> (raw)
> Hmm, the only problem with this is that it requires consensus on the
> format of kernel sigsets. Think about the 32-vs-64-bit compatibility
> issues.
>
> It should be cleared on PTRACE_DETACH, of course. Do we even need the
> GET functionality? If not, is PTRACE_SET_IGNORE_SIGNAL
> taking a single
> signal number sufficient?
Thanks for reminding me about handling PTRACE_DETACH!
Yeah, we could go with PTRACE_SET_IGNORE_SIGNAL (signum), but we'll
still need a sigset_t like structure in struct task_struct {}. I figured
the PTRACE_SET_SIGIGN_MASK interface would be more flexible and
efficient if someone wanted to have the debugger ignore a whole bunch of
signals at once for a debuggee child.
But I agree, the GET interface is perhaps not required.
Okay, I'll whip out a preliminary patch, and you can all rip it apart if
you find issues with it. Stay tuned...
Thanks for your comments, Daniel!
- Bhavesh
Bhavesh P. Davda | Distinguished Member of Technical Staff | Avaya |
1300 West 120th Avenue | B3-B03 | Westminster, CO 80234 | U.S.A. |
Voice/Fax: 303.538.4438 | bhavesh@avaya.com
next reply other threads:[~2005-10-03 15:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 15:21 Davda, Bhavesh P (Bhavesh) [this message]
2005-10-03 16:12 ` [RFC PATCH] New SA_NOPRNOTIF sigaction flag Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2005-09-28 19:11 Davda, Bhavesh P (Bhavesh)
2005-10-03 0:27 ` Daniel Jacobowitz
2005-09-28 18:06 Davda, Bhavesh P (Bhavesh)
2005-09-28 18:33 ` Daniel Jacobowitz
2005-09-27 21:55 Davda, Bhavesh P (Bhavesh)
2005-09-28 14:10 ` Daniel Jacobowitz
2005-09-27 16:24 Davda, Bhavesh P (Bhavesh)
2005-09-27 20:39 ` Daniel Jacobowitz
2005-09-27 14:45 Davda, Bhavesh P (Bhavesh)
2005-09-27 15:55 ` Daniel Jacobowitz
2005-09-27 23:26 ` Valdis.Kletnieks
2005-09-26 17:39 Bhavesh P. Davda
2005-09-27 13:06 ` Daniel Jacobowitz
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=21FFE0795C0F654FAD783094A9AE1DFC0874921D@cof110avexu4.global.avaya.com \
--to=bhavesh@avaya.com \
--cc=dan@debian.org \
--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;
as well as URLs for NNTP newsgroup(s).