Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/sys_timerfd.c
RevisionDateAuthorComments
 1.11  19-Dec-2024  riastradh timerfd_settime(2): Return relative duration remaining.

Not absolute time of next event.

PR kern/58917: timer_settime and timerfd_settime return absolute time
of next event
 1.10  19-Dec-2024  riastradh timerfd_settime(2): Sanitize inputs like timer_settime(2).

PR kern/58914: timerfd_settime(2) is missing itimespecfix
 1.9  18-Dec-2024  riastradh timerfd(2): Do not claim writable.

Writes will fail with EOPNOTSUPP.

PR kern/58916: timerfd(2) claims ready for write
 1.8  17-Feb-2022  thorpej Implement eventfd_ioctl() and handle FIONBIO so that fcntl(O_NONBLOCK)
works. While here, also implement FIONREAD and FIONWRITE, and document
why we don't implement FIONSPACE.

Also implement FIONBIO and FIONREAD for in timerfd_ioctl() (for the same
reason).

PR kern/56718
 1.7  24-Nov-2021  thorpej Fix "restart" semantics -- restart is terminal, so don't clear the
condition when previous waiters have drained. ("restart" is a bad
name for that this function does, fwiw.)

This should address a kernel assertion failure reported by Chavdar Ivanov
on current-users.
 1.6  27-Sep-2021  thorpej Consistently reference kn->kn_data only within the lock perimeter in
the filtops f_event() callback.
 1.5  26-Sep-2021  thorpej eventfd and timerfd have MPSAFE kq filterops.
 1.4  26-Sep-2021  thorpej Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89
 1.3  20-Sep-2021  skrll KNF, i.e. #include <sys/param.h> then #include <sys/types.h>

Fixes builds
 1.2  19-Sep-2021  thorpej Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.
 1.1  14-Dec-2020  thorpej branches: 1.1.2;
file sys_timerfd.c was initially added on branch thorpej-futex.
 1.1.2.1  14-Dec-2020  thorpej Native implementation of the Linux timerfd API.

RSS XML Feed