From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from perch.kroah.org (mail.kroah.org [69.55.234.183]) by ozlabs.org (Postfix) with ESMTP id 420EB67B5F for ; Wed, 1 Nov 2006 18:03:57 +1100 (EST) Date: Tue, 31 Oct 2006 22:34:01 -0800 From: Greg KH To: Benjamin Herrenschmidt Subject: Re: [PATCH] powerpc: Make alignment exception always check exception table Message-ID: <20061101063401.GA25664@kroah.com> References: <1162350571.25682.389.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1162350571.25682.389.camel@localhost.localdomain> Cc: linuxppc-dev list , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Nov 01, 2006 at 02:09:30PM +1100, Benjamin Herrenschmidt wrote: > The alignment exception used to only check the exception table for > -EFAULT, not for other errors. That opens an oops window if we can > coerce the kernel into getting an alignment exception for other reasons > in what would normally be a user-protected accessor, which can be done > via some of the futex ops. This fixes it by always checking the > exception tables. > > Signed-off-by: Benjamin Herrenschmidt > --- > > This is 2.6.19 material and should probably go into stable as well. > (Greg: take it if paulus acks it and it applies :) Please forward the final patch (which ever version it is :) to the stable@kernel.org address when this goes into mainline. thanks, greg k-h