From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Date: Wed, 24 May 2006 21:23:58 +0000 Subject: Re: sigreturn on sparc64 Message-Id: <4474CEEE.3040902@zytor.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org David Miller wrote: > > GLIBC is the source of all knowledge :-) > > libc/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c > > In there you'll see that you have to set the sa_restorer > to NULL and pass in the "stub" address minus 8, as the > 4th argument to rt_sigation system call. > Minus 8 :) Talk about weirdness... :-/ -hpa