public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@tv-sign.ru>
To: John Blackwood <john.blackwood@ccur.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Roland McGrath <roland@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC] [PATCH] selective signal ptracing
Date: Sat, 16 Jun 2007 13:24:15 +0400	[thread overview]
Message-ID: <20070616092415.GA130@tv-sign.ru> (raw)

John Blackwood wrote:
>
> By default all signals are ptraced as before. However, a debugger
> may now modify the set of per-task ptraced signals, where only the
> signals in this ptrace signal mask will be ptraced.

I must admit, I agree with Roland...

> +void ptrace_update_traced_signals(struct task_struct *child,
> +							sigset_t *new_smaskp)
> +{
> [...snip...]
> +
> +		spin_lock_irqsave(&child->sighand->siglock, flags);
> +
> +		if (child->sighand == NULL) {

How so?

Oleg.


             reply	other threads:[~2007-06-16  9:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16  9:24 Oleg Nesterov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-18 19:24 [RFC] [PATCH] selective signal ptracing John Blackwood
2007-06-15 14:32 John Blackwood
2007-06-15 19:42 ` Roland McGrath
2007-06-15 23:26   ` Alan Cox
2007-06-15 23:39     ` Roland McGrath
2007-06-17  0:11     ` Benjamin Herrenschmidt
2007-06-17  1:29       ` Roland McGrath
2007-06-18 13:15         ` Josh Boyer
2007-06-19  1:15           ` Benjamin Herrenschmidt

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=20070616092415.GA130@tv-sign.ru \
    --to=oleg@tv-sign.ru \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=john.blackwood@ccur.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    /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