Bug in [PATCH] sparc: Align clone and signal stacks to 16 bytes
Hi,
I just browsed sparc-linux list and spotted this bug in the patch:
childstack = (struct sparc_stackf __user *)
- (sp & ~0x7UL);
+ (sp & ~0x15UL);
parentstack = (struct sparc_stackf __user *)
0x15UL is wrong, it should be either 0xfUL or 15UL.
From: Blue Swirl <[email protected]>
Date: Thu, 11 Feb 2010 19:31:47 +0200
Quoted 10 lines
Hi,
I just browsed sparc-linux list and spotted this bug in the patch:
(quoted diff) +1
-1childstack = (struct sparc_stackf __user *) - (sp & ~0x7UL); + (sp & ~0x15UL); parentstack = (struct sparc_stackf __user *)
0x15ULis wrong, it should be either0xfULor 15UL.
Thanks, I'll fix that.