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 <[email protected]>
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?


> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/SSSD/sssd/pull/107#issuecomment-266446340>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAG4enqr9bqncI7VM76uw-d4O9L1-INtks5rHVwdgaJpZM4LKVED>
> .
>

"""

See the full comment at 
https://github.com/SSSD/sssd/pull/107#issuecomment-266447493
_______________________________________________
sssd-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to