powerpc/183040: Nested signal handling is broken
Julio Merino
julio at meroh.net
Fri Oct 18 20:08:00 UTC 2013
On Thu, Oct 17, 2013 at 3:31 AM, Konstantin Belousov
<kostikbel at gmail.com> wrote:
> What you could do, is to localize the point where the breakage occur.
> Add a function like this:
>
> static void
> print_sig_disposition(int signo)
> {
> struct sigaction sa;
> sigaction(signo, NULL, &sa);
> printf("sig %d handler %p\n", signo, sa.sa_handler);
> }
>
> and sprinkle a calls to it often enough, to see where the reset of the
> disposition happens. Insert the call to the function into the signal
> handler as well.
As far as I can tell, the sa_handler remains set all the time. It's
correct before the call to kill().
--
Julio Merino / @jmmv
More information about the freebsd-ppc
mailing list