With FreeBSD 8.0 it seems like you can't block pending but undelivered signals

Jeremy Allison jra at samba.org
Mon Jan 14 13:08:53 MST 2013


On Sun, Jan 13, 2013 at 09:11:49AM -0800, Richard Sharpe wrote:
> On Fri, Jan 11, 2013 at 5:24 PM, Jeremy Allison <jra at samba.org> wrote:
> > On Wed, Jan 09, 2013 at 10:04:09AM -0800, Richard Sharpe wrote:
> >> On Wed, Jan 9, 2013 at 8:59 AM, Jeremy Allison <jra at samba.org> wrote:
> >> > On Wed, Jan 09, 2013 at 06:28:20AM -0800, Richard Sharpe wrote:
> >> >
> >> >
> >> > Cool ! Let's work on getting a portable tested fix into tevent !
> >>
> >> OK, so we could test for the existence of ucontext_t as well as
> >> SA_SIGINFO and only allow such signal handling if both exist.
> >>
> >> Ie, HAVE_UCONTEXT_T
> >>
> >> Linux has it, as does FreeBSD and I am told that Solaris has it.
> >>
> >> I wonder what other versions of UNIX have?
> >
> > Once we detect HAVE_UCONTEXT_T in tevent then I think
> > this is the correct patch.
> 
> These might be the correct set of configure checks. My only concern is
> that the AC_CHECK_HEADERS line I have used ends up defining both
> HAVE_SYS_UCONTEXT_H and HAVE_UCONTEXT_T.

Actually I think that's perfect - maybe I should make
my code depedent on both anyway.

Jeremy.


More information about the samba-technical mailing list