Re: SPARC and SA_SIGINFO signal handling

From: Christophe Rhodes (csr21@cam.ac.uk)
Date: Wed Nov 07 2001 - 04:33:18 EST


On Sat, Nov 03, 2001 at 03:54:22PM -0800, David S. Miller wrote:
> From: Richard Henderson <rth@twiddle.net>
> Date: Sat, 3 Nov 2001 11:59:00 -0800
>
> On Wed, Oct 31, 2001 at 02:11:31AM -0800, David S. Miller wrote:
> > The "register contents and so on" are in the sigcontext.
> > We don't use ucontext on sparc32.
>
> In other words, you don't support SA_SIGINFO at all.
>
> Is it required? All the information that thing provides is
> determinable via other methods.

Sorry for the late response (I've been away); "required" is perhaps
putting it strongly, because as you say the information is there,
somewhere. However, it would be nice to have, as standardized, that
the third argument to the sa_sigaction handler be castable to a
ucontext_t, as this would make porting signal-handling code between
Linux flavours much easier.

Cheers,

Christophe

-- 
Jesus College, Cambridge, CB5 8BL                           +44 1223 510 299
http://www-jcsu.jesus.cam.ac.uk/~csr21/                  (defun pling-dollar 
(str schar arg) (first (last +))) (make-dispatch-macro-character #\! t)
(set-dispatch-macro-character #\! #\$ #'pling-dollar)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:34 EST