Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760951AbXJaWzw (ORCPT ); Wed, 31 Oct 2007 18:55:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753043AbXJaWzn (ORCPT ); Wed, 31 Oct 2007 18:55:43 -0400 Received: from cantor.suse.de ([195.135.220.2]:33256 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751450AbXJaWzm (ORCPT ); Wed, 31 Oct 2007 18:55:42 -0400 Date: Wed, 31 Oct 2007 23:55:41 +0100 From: Nick Piggin To: Linus Torvalds Cc: Duane Griffin , linux-kernel Mailing List , stable@kernel.org Subject: Re: 2.6.23 regression: accessing invalid mmap'ed memory from gdb causes unkillable spinning Message-ID: <20071031225541.GA28552@wotan.suse.de> References: <20071031041932.GA12189@wotan.suse.de> <20071031151934.GA19211@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1268 Lines: 31 On Wed, Oct 31, 2007 at 08:59:41AM -0700, Linus Torvalds wrote: > > > On Wed, 31 Oct 2007, Nick Piggin wrote: > > > > Well the patch is right, in the context of the regression I introduced > > (and so it should probably go into 2.6.23). > > Yeah, it probably is fine for -stable. > > And if mine (which actually changes behaviour, in that it makes ptrace get > an access error) causes regressions, I guess we'll have to use that > compatible-with-old-behaviour one for 2.6.24 too. > > But I just rebooted and tested - the cleaned-up patch does seem to work > fine, and I get "Cannot access memory at address " rather than any > reported problem. > > So I think I'll commit my version asap, and see if anybody reports that > they have a situation where they use ptrace() and expect zero back from a > shared mapping past the end.. And if there are issues, we can switch back > to the old broken behaviour with your patch, No that would be great. Fingers crossed it won't cause any problems. Thanks, all. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/