[PATCH] Re: With FreeBSD 8.0 it seems like you can't block pending but undelivered signals (Bug #9550)

Stefan (metze) Metzmacher metze at samba.org
Tue Jan 15 00:32:49 MST 2013


Am 15.01.2013 00:42, schrieb Jeremy Allison:
> On Mon, Jan 14, 2013 at 12:08:53PM -0800, Jeremy Allison wrote:
>> 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.
> 
> Patchset that applies to master.
> 
> Please review and push if happy with it !

This will be pushed to master if my autobuilds don't fail.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130115/a34bc6df/attachment.pgp>


More information about the samba-technical mailing list