[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090527005527.B50B7FC36B@magilla.sf.frob.com>
Date: Tue, 26 May 2009 17:55:27 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Christoph Hellwig <hch@...radead.org>,
Ingo Molnar <mingo@...e.hu>,
Pavel Emelyanov <xemul@...nvz.org>,
Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] ptrace: do_notify_parent_cldstop: fix the wrong
->nsproxy usage
> Yes. Perhaps it would be nice to add a helper,
I agree.
> > sys_kill, do_tkill all look wrong to me.
>
> They should be fine, note the
>
> if (from_ancestor_ns)
> q->info.si_pid = 0;
>
> in __send_signal(). If we send the signal "down" to the sub-namespace,
> si_pid == 0 is correct. And, unlike do_notify_parent/ptrace_notify/etc
> kill/tkill can't send the signal "up".
Ah, right. I knew there was something around this I was forgetting.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists