Skip to content
Snippets Groups Projects
Commit 8b79efe7 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig) Committed by Debarshi Ray
Browse files

alarm: Refresh Kerberos tickets after a suspended system is resumed

A read(2) from the timerfd will fail with ECANCELED [1], which will be
seen as G_IO_ERROR_CANCELLED, when the clock jumps after waking up. In
this case, instead of giving up, the alarm should continue to fire or
re-arm as needed.

[1] http://man7.org/linux/man-pages/man2/timerfd_create.2.html

https://bugzilla.gnome.org/show_bug.cgi?id=796095
parent 2bc35ff2
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment