[sheepdog] [PATCH]Check malloc error for collie

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Feb 20 15:22:25 CET 2013


On Wed, Feb 20, 2013 at 8:51 PM, harryxiyou <harryxiyou at gmail.com> wrote:
> On Wed, Feb 20, 2013 at 4:23 PM, Hitoshi Mitake
> <mitake.hitoshi at gmail.com> wrote:
>> At Wed, 20 Feb 2013 13:03:29 +0900,
>> Hitoshi Mitake wrote:
>>>
>>> At Wed, 20 Feb 2013 11:03:58 +0800,
>>> harryxiyou wrote:
>>> >
>>> > > 2. register signal handler for SIGABRT, and let the handler call
>>> > >    exit(EXIT_SYSFAIL)
>>> >
>>> > I am not sure how & where to register this signal handler for SIGABRT?
>>>
>>> Sorry I missed the how part: you can use sigaction(2) for registering
>>> signal handler. You can read the detailed usage with "man
>>> sigaction". You can also find the example usage in logger() of
>>> sheepdog source tree.
>>
>> If you have no time for preparing the v2, I can do it instead of
>> you. Which do you prefer?
>>
>
> let me have a try. Thanks.

Sure :)

Thanks,
Hitoshi



More information about the sheepdog mailing list