From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: user namespace: make signal.c respect user namespaces (v5) Date: Fri, 18 Nov 2011 20:53:12 -0800 Message-ID: References: <20111117045230.GA26345@hallyn.com> <20111118173752.GB11823@sergelap> <20111119004302.GB16259@sergelap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111119004302.GB16259@sergelap> (Serge Hallyn's message of "Fri, 18 Nov 2011 18:43:02 -0600") 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: Serge Hallyn Cc: richard-/L3Ra7n9ekc@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, eparis-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Andrew Morton List-Id: containers.vger.kernel.org Serge Hallyn writes: > Quoting Eric W. Biederman (ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org): >> "Serge E. Hallyn" writes: >> >> > Quoting Eric W. Biederman (ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org): >> >> There is a small bug here. You want to fixup q->info, not info. >> >> Otherwise you might try dereferencing one of the special signals and get >> >> a NULL pointer dereference. >> > >> > Thanks, Eric. Oddly I've not seen this happen in quite a bit of >> > testing with the kernel, but you certainly must be right. I sent >> > out a new patch to fix that. >> >> You clearly have a different test case than I do. > > I ran a good chunk of ltp... and it passed. I can't explain it. I guess my test case as mostly dinking around and hitting ctrl-c because something wasn't behaving as I would like. Still I a tad surprised that ltp doesn't seem to test that one. >> I managed to trigger the oops within about 5 minutes of just fooling >> around. >> >> You want to say &q->info not q->info in your updated patch. > > Oh, yes, thanks. Sorry, I shouldn't have sent that one as I wasn't able > to compile and test until tonight. No problem. Eric