Re: sigaction SA_SIGINFO functionality

Rene Janssen (rjanssen@ns.oke.nl)
Mon, 21 Dec 1998 13:48:12 +0100


At 11:39 AM 12/21/98 +0100, Andreas Schwab wrote:
>Josip Gracin <grac@fly.cc.fer.hr> writes:
>
>|> Hi!
>|>
>|> I can't get sigaction to work with SA_SIGINFO type of handler. I can see
>|> that this is already in the kernel but does it work?
>
>SA_SIGINFO only works with RT signals (>32).
>

In fact its probably not a trivial thing to implement for SIGSEGV, the
difficulty lies in determination of the faulting address. If you could do
that than its probably a matter of changing force_sig() to force_sig_info()
in do_general_protection(). But its probably not worth the trouble.

René

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/