Title: #107: WATCHDOG: Avoid non async-signal-safe from the signal_handler
On Mon, Dec 12, 2016 at 06:55:13AM -0800, Simo Sorce wrote:
Yes we should ask, I think we really need to try to use monotonic
clocks for most tasks.
Thank you, @simo5, do you also have a preference for how to reset the
watchdog from a 'plain' POSIX signal handler where we can't use
signal-unsafe functions? My suggestion was to signal 'self' to get into
a tevent-managed signal handler, Fabiano suggested to play it safe and
just exist and let monitor restart sssd_be.
See the full comment at https://github.com/SSSD/sssd/pull/107#issuecomment-266458115