powerpc/183040: Nested signal handling is broken

Konstantin Belousov kostikbel at gmail.com
Sat Oct 19 06:38:12 UTC 2013


On Fri, Oct 18, 2013 at 04:07:30PM -0400, Julio Merino wrote:
> 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().

Please provide the modified test program and its exact output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20131019/b9cf0cc2/attachment.sig>


More information about the freebsd-ppc mailing list