On Thu, Oct 09, 2008 at 01:57:37PM +1100, Paul Mackerras wrote: >Josh Boyer writes: > >> From: Josh Poimboeuf <[EMAIL PROTECTED]> >> >> The powerpc 32-bit and 64-bit kernel_thread functions don't properly >> propagate errors being returned by the clone syscall. (In the case of >> error, the syscall exit code returns a positive errno in r3 and sets >> the CR0[SO] bit.) >> >> This patch fixes that by negating r3 if CR0[SO] is set after the syscall. >> >> Signed-off-by: Josh Poimboeuf <[EMAIL PROTECTED]> >> Signed-off-by: Josh Boyer <[EMAIL PROTECTED]> > >Acked-by: Paul Mackerras <[EMAIL PROTECTED]>
Should we send this patch to -stable for 2.6.27? Seems valid enough to do so. josh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev