From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Subject: Re: [RFC][PATCH 3/7][v4] Define siginfo_from_ancestor_ns() Date: Wed, 24 Dec 2008 23:03:58 +0100 Message-ID: <20081224220358.GA3851@redhat.com> References: <20081224114414.GA7879@us.ibm.com> <20081224115124.GC8020@us.ibm.com> <20081224162823.GE11593@redhat.com> <20081224212426.GD13502@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20081224212426.GD13502-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sukadev Bhattiprolu Cc: bastian-yyjItF7Rl6lg9hUCZPvPmw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, roland-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org List-Id: containers.vger.kernel.org On 12/24, Sukadev Bhattiprolu wrote: > > Oleg Nesterov [oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org] wrote: > | And, SI_ASYNCIO only matters when we send the signal to the subnamespace, > | and in that case we will probably mangle .si_pid. So why don't we warn > | when .si_code == SI_USER? > > I was wondering if I should there too :-) But what do you think ? Well, if you ask me, I'd suggest to document the problems with sigqueueinfo() and forget. Whatever we do, we can't be always right. Oleg. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbYLXWF4 (ORCPT ); Wed, 24 Dec 2008 17:05:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751272AbYLXWFr (ORCPT ); Wed, 24 Dec 2008 17:05:47 -0500 Received: from mx2.redhat.com ([66.187.237.31]:34031 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751254AbYLXWFr (ORCPT ); Wed, 24 Dec 2008 17:05:47 -0500 Date: Wed, 24 Dec 2008 23:03:58 +0100 From: Oleg Nesterov To: Sukadev Bhattiprolu Cc: ebiederm@xmission.com, roland@redhat.com, bastian@waldi.eu.org, daniel@hozac.com, xemul@openvz.org, containers@lists.osdl.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH 3/7][v4] Define siginfo_from_ancestor_ns() Message-ID: <20081224220358.GA3851@redhat.com> References: <20081224114414.GA7879@us.ibm.com> <20081224115124.GC8020@us.ibm.com> <20081224162823.GE11593@redhat.com> <20081224212426.GD13502@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081224212426.GD13502@us.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/24, Sukadev Bhattiprolu wrote: > > Oleg Nesterov [oleg@redhat.com] wrote: > | And, SI_ASYNCIO only matters when we send the signal to the subnamespace, > | and in that case we will probably mangle .si_pid. So why don't we warn > | when .si_code == SI_USER? > > I was wondering if I should there too :-) But what do you think ? Well, if you ask me, I'd suggest to document the problems with sigqueueinfo() and forget. Whatever we do, we can't be always right. Oleg.