URL:
https://github.com/SSSD/sssd/pull/107
Title: #107: WATCHDOG: Avoid non async-signal-safe from the signal_handler
fidencio commented:
"""
On Mon, Dec 12, 2016 at 3:37 PM, Jakub Hrozek <notifications(a)github.com>
wrote:
So..I wonder how much of a hack this is but if the intent here is to
reset
the watchdog from a signal handler, could we send a signal to self (kill(getpid(),
SIGHUP)) with a signal that is handled by tevent and in that
tevent-driven signal handler, reset the watchdog?
Things are getting more and more hacky.
I'm wondering here, what would be the problem to simply `_exit(1)` in case
of a timeshift is detected?
"""
See the full comment at
https://github.com/SSSD/sssd/pull/107#issuecomment-266447493