bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rpctrace / libpager / signal preemptor


From: Samuel Thibault
Subject: Re: rpctrace / libpager / signal preemptor
Date: Wed, 16 Nov 2016 19:50:07 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Samuel Thibault, on Wed 16 Nov 2016 19:46:52 +0100, wrote:
> The attached testcase does get the faulting address.

And the attached testcase doesn't.

> I really believe the issue is related to this:

Confirmed :)

> > Note that there is a 
> > 
> >   /* XXX what if handler != action->handler (for instance, if a signal
> >    * preemptor took over) ? */
> > 
> > above.  I'd say that when handler != action->handler we should assume
> > it's a legacy handler, and make 'action' point to a default-legacy
> > sigaction structure, so that it doesn't have SA_SIGINFO, and thus the
> > legacy parameters will be passeD.
> 
> Samuel

Attachment: test.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]