[sheepdog] [PATCH]Check malloc error for collie
mitake.hitoshi at gmail.com
Wed Feb 20 05:03:29 CET 2013
At Wed, 20 Feb 2013 11:03:58 +0800,
> > 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.
More information about the sheepdog