From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH 9/9] signal: Ignore signals sent to the pid namespace init Date: Thu, 13 Dec 2007 11:33:10 -0700 Message-ID: References: <20071213162811.GC219@tv-sign.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Eric W. Biederman's message of "Thu, 13 Dec 2007 11:16:21 -0700") 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: Oleg Nesterov Cc: Linux Containers , Andrew Morton , Pavel Emelyanov List-Id: containers.vger.kernel.org ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) writes: > > Yes. If we are not in process context (in_interrupt) we do infer > the sender incorrectly. Duh. I saw something in earlier patches > people had posted didn't understand it, and didn't get an answer > when I asked about it. Grr. Rather I didn't see a reply when I asked about it. I just spotted Suka's old reply telling me it was to attempt to prevent init from getting sigio. Clearly I have a big fat blind spot here you could drive a truck through. Kernel generated signals are a pain because they are neither fish nor fowl. They are sent privileged, but we don't necessarily want to give them all curtsies and deliver them. Grr. Eric