From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: pid namespace bug ? Date: Sat, 08 May 2010 14:52:21 +0200 Message-ID: <4BE55E85.2050903@free.fr> References: <87ljbyh1zv.fsf@tac.ki.iif.hu> <4BE18E01.3090103@free.fr> <87hbml2uf3.fsf@tac.ki.iif.hu> <4BE2A479.3060805@free.fr> <87ocgt12fb.fsf@tac.ki.iif.hu> <4BE322F1.5030500@free.fr> <20100506205233.GA23542@us.ibm.com> <4BE3D4AD.1030705@free.fr> <20100507194426.GB14799@us.ibm.com> <878w7vmnnn.fsf@tac.ki.iif.hu> <20100507213037.GA3305@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100507213037.GA3305-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: Linux Containers , Ferenc Wagner List-Id: containers.vger.kernel.org Sukadev Bhattiprolu wrote: > Ferenc Wagner [wferi-eEbw3PyuezQ@public.gmane.org] wrote: > | Sukadev Bhattiprolu writes: > | > | > Daniel Lezcano [daniel.lezcano-GANU6spQydw@public.gmane.org] wrote: > | > > | >>> Besides a realistic container-init would block such signals, in which case > | >>> the complexity in the kernel could be viewed as unnecessary. > | >> > | >> I am not sure it is good to have the pid 1 immune against signals sent > | >> from outside of the container. > | > > | > cinit is only immune to unhandled signals that terminate/stop the cinit. > | > If a handler is defined for SIGINT, a SIGINT from parent-ns will still be > | > delivered but a SIGINT from a descendant of cinit will be ignored. > > Sorry. Bad sentence. > > Yes, if a handler is defined, the signal will be delivered regardless of > sender's namespace. > Thanks Suka for the clarification. -- Daniel