Re: [PATCH] powerpc: Sanitize stack pointer in signal handling code

2009-03-25 Thread Benjamin Herrenschmidt
> >Signed-off-by: Josh Boyer > > Ben, this should look familiar. It's based on your current -next branch. > > If you agree, I can send it to the -stable team for .27, .28 and .29. Patch looks good. I'll review more closely tomorrow morning and put it in my -next branch, which I'll then ask Li

Re: [PATCH] powerpc: Sanitize stack pointer in signal handling code

2009-03-25 Thread Josh Boyer
On Wed, Mar 25, 2009 at 12:23:59PM -0400, Josh Boyer wrote: >On powerpc64 machines running 32-bit userspace, we can get garbage bits in the >stack pointer passed into the kernel. Most places handle this correctly, but >the signal handling code uses the passed value directly for allocating signal >

[PATCH] powerpc: Sanitize stack pointer in signal handling code

2009-03-25 Thread Josh Boyer
On powerpc64 machines running 32-bit userspace, we can get garbage bits in the stack pointer passed into the kernel. Most places handle this correctly, but the signal handling code uses the passed value directly for allocating signal stack frames. This fixes the issue by introducing a get_clean_s