[sheepdog] [PATCH]Check malloc error for collie

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Feb 20 09:23:41 CET 2013


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?

Thanks,
Hitoshi




More information about the sheepdog mailing list