[PATCH 2/4] aarch64: Re-implement setcontext without sigreturn syscall

Richard Henderson rth@twiddle.net
Wed Mar 19 17:44:00 GMT 2014


On 03/19/2014 10:37 AM, Rich Felker wrote:
> On Wed, Mar 19, 2014 at 05:19:23PM +0000, Will Newton wrote:
>> But on the other hand sigreturn interacts badly with sigaltstack which
>> actually causes problems with real running code (in this case the Go
>> language).
> 
> Could you explain the bad interaction? I'd be interested in knowing
> what it is (since I was planning on using sigreturn to implement the
> ucontext functions in musl) and if I knew, I might even have a
> workaround.

Yes, please explain.  I've used sigreturn on alpha since day 1 and
haven't noticed a problem.


r~



More information about the Libc-alpha mailing list