From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cedric Le Goater Subject: Re: [patch -mm 1/5] mqueue namespace : add struct mq_namespace Date: Thu, 04 Oct 2007 15:12:39 +0200 Message-ID: <4704E6C7.5010908@fr.ibm.com> References: <47020A29.9060403@sw.ru> <470219BC.3050702@fr.ibm.com> <470237C7.5000902@fr.ibm.com> <20071002163020.GA11207@us.ibm.com> <47034868.5010505@fr.ibm.com> <20071003135955.GA7934@sergelap.austin.ibm.com> <4703A30F.2010007@fr.ibm.com> <20071003165644.GA338@us.ibm.com> <20071003170930.GB338@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071003170930.GB338-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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, "Eric W. Biederman" , "Denis V. Lunev" List-Id: containers.vger.kernel.org sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org wrote: > Eric W. Biederman [ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org] wrote: > | sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org writes: > | > | > Cedric Le Goater [clg-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org] wrote: > | > | > I think you and Eric (and I) are disagreeing about those limitations. > | > | > You take it for granted that a sibling pidns is off limits for signals. > | > | > But the signal wasn't sent using a pid, but using a file (in SIGIO > | > | > case). So since the fs was shared, the signal should be sent. An > | > | > event happened, and the receiver wants to know about it. > | > | > | > | seen that way I agree. > | > | > | > | si_code is set to SI_MESGQ, but what do we put in si_pid ? 0 ? > | > | > | > | we could use the si_errno to pass extra info, like the sending process > | > | lives in a // world ... > | > > | > Does the receiver need to know that sender is in a // world ? probably not. it would mean that the user is container aware. bad idea. > | What is a // world ? > > Parallel world/universe :-) > > I am assuming Cedric used that to refer to a sibling pid ns. yes :) Thanks ! C.