Re: SA_SIGINFO in Linux 2.4.x

From: Daniel Barlow (
Date: Fri Aug 02 2002 - 07:41:35 EST

On Fri, 2002-08-02 at 04:14, Camm Maguire wrote:
> Greetings! The 2.4.x kernels on alpha don't appear to be filling in
> the si_addr element of the siginfo_t structure when a signal handler
> is setup with SA_SIGINFO. Is this right? Any other way to get this
> address in the handler?

You may be able to use the third argument to the signal handler:
given a handler declared as (int n, siginfo_t *info,struct ucontext *context),
look at context->uc_mcontext.sc_traparg_a0

SBCL has been doing this for a few months now and nobody has yet
complained that it's broken for them. Look for arch_get_bad_addr


-- - Link farm for free CL-on-Unix resources - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:18 EST