This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix handling of NULL context link in powerpc64makecontext


On Wed, 2012-10-31 at 23:17 +0100, Andreas Schwab wrote:
> If the function registered with makecontext returns with a NULL context
> link the process should exit with zero, not non-zero.
> 
> Andreas.
> 
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
> 	function returns with a NULL context exit with zero.

Pushed upstream with the following commit after verifying that it fixes
the makecontext make check failure.

commit d6cffd3ec0b21914424d7e6e6b4c688f3b8b3fcd
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Thu Nov 1 20:10:39 2012 -0500

    PowerPC: Fix uc_link == NULL handling for makecontex.
    
    If the function registered with makecontext returns with a NULL context
    link the process should exit with zero, not non-zero.

Thanks Andreas!

Ryan S. Arnold


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]