From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HtQGB-0002Gh-R4 for user-mode-linux-devel@lists.sourceforge.net; Wed, 30 May 2007 08:38:55 -0700 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HtQFz-0008Df-B4 for user-mode-linux-devel@lists.sourceforge.net; Wed, 30 May 2007 08:38:41 -0700 Date: Wed, 30 May 2007 11:30:57 -0400 From: Jeff Dike Message-ID: <20070530153057.GA6940@c2.user-mode-linux.org> References: <20070524092904.GB3768@sparc20.esperanza> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20070524092904.GB3768@sparc20.esperanza> Subject: Re: [uml-devel] fix SEGV in handle_page_fault() when current->mm is NULL List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: "Nicolas S. Dade" Cc: user-mode-linux-devel@lists.sourceforge.net On Thu, May 24, 2007 at 02:29:04AM -0700, Nicolas S. Dade wrote: > In a non-uml kernel a get_user() when current->mm is NULL (kernel thread, or > userspace process being torn down) returns error. In uml it SEGVs. The bug is > that handle_page_fault() does not check for NULL before using mm. The > trivial attached patch fixes this. Can I have a Signed-off-by on this? Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel