We forgot to do the obligatory "Check if there is no syscall there"
dance when calling timerfd_create().
(Commit message by Nick)
epollop->timerfd = -1;
}
} else {
- event_warn("timerfd_create");
+ if (errno != EINVAL && errno != ENOSYS) {
+ /* These errors probably mean that we were
+ * compiled with timerfd/TFD_* support, but
+ * we're running on a kernel that lacks those.
+ */
+ event_warn("timerfd_create");
+ }
+ epollop->timerfd = -1;
}
} else {
epollop->timerfd = -1;