[PATCH] check put_user fail in do_signal when enable OABI_COMPACT

Nicolas Pitre nico at fluxnic.net
Tue Oct 27 15:52:12 EDT 2009


On Tue, 27 Oct 2009, Russell King - ARM Linux wrote:

> On Tue, Oct 27, 2009 at 03:35:31PM -0400, Nicolas Pitre wrote:
> > And is there a reason for touching sp in the error case?
> 
> Returning 'sp' seems to be a sane thing to do - otherwise debuggers
> analysing core dumps could be confused about the location of data on
> the stack.

Good point.


Nicolas



More information about the linux-arm-kernel mailing list