mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Roland McGrath <roland@redhat.com>,
	wylda@volny.cz, gregkh@suse.de, jkosina@suse.cz,
	Sukadev Bhattiprolu <sukadev@us.ibm.com>,
	Serge Hallyn <serue@us.ibm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pid_ns: zap_pid_ns_processes: use SEND_SIG_NOINFO instead of force_sig()
Date: Thu, 4 Mar 2010 08:06:12 -0800 (PST)	[thread overview]
Message-ID: <alpine.LFD.2.00.1003040805550.7046@localhost.localdomain> (raw)
In-Reply-To: <20100303202650.GA15521@redhat.com>



On Wed, 3 Mar 2010, Oleg Nesterov wrote:
>
> zap_pid_ns_processes() uses force_sig(SIGKILL) to ensure SIGKILL
> will be delivered to sub-namespace inits as well. This is correct,
> but we are going to change force_sig_info() semantics.
> See http://bugzilla.kernel.org/show_bug.cgi?id=15395#c31
> 
> We can use send_sig_info(SEND_SIG_NOINFO) instead, since
> 614c517d7c00af1b26ded20646b329397d6f51a1 SEND_SIG_NOINFO means
> "from user" and therefore send_signal() will get the correct
> from_ancestor_ns = T flag.
> 
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>

			Linus

  parent reply	other threads:[~2010-03-04 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.LFD.2.00.1003021136400.3616@localhost.localdomain>
     [not found] ` <20100302201646.GA10734@redhat.com>
     [not found]   ` <alpine.LFD.2.00.1003021223060.3616@localhost.localdomain>
     [not found]     ` <20100303013227.4FFDE89EB@magilla.sf.frob.com>
     [not found]       ` <alpine.LFD.2.00.1003021740560.3616@localhost.localdomain>
     [not found]         ` <20100303112343.B89802F@magilla.sf.frob.com>
     [not found]           ` <alpine.LFD.2.00.1003030930100.3627@localhost.localdomain>
     [not found]             ` <20100303184412.GA7816@redhat.com>
     [not found]               ` <alpine.LFD.2.00.1003031053050.3599@localhost.localdomain>
     [not found]                 ` <20100303193003.GA10734@redhat.com>
2010-03-03 20:26                   ` Oleg Nesterov
2010-03-04  7:20                     ` Serge E. Hallyn
2010-03-04 16:06                     ` Linus Torvalds [this message]
2010-03-04 20:48                     ` Roland McGrath

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=alpine.LFD.2.00.1003040805550.7046@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@suse.de \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=roland@redhat.com \
    --cc=serue@us.ibm.com \
    --cc=sukadev@us.ibm.com \
    --cc=wylda@volny.cz \
    /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

Powered by JetHome