History log of /openbsd-src/regress/sys/kern/kqueue/kqueue-timer.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 471dbed6 13-Aug-2023 visa <visa@openbsd.org>

kevent: Add precision and abstimer flags for EVFILT_TIMER

Add timer precision flags NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS
and NOTE_NSECONDS for EVFILT_TIMER. Also, add an initial implementation

kevent: Add precision and abstimer flags for EVFILT_TIMER

Add timer precision flags NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS
and NOTE_NSECONDS for EVFILT_TIMER. Also, add an initial implementation
of NOTE_ABSTIME timers.

Similar kevent(2) flags exist on FreeBSD, NetBSD and XNU.

Initial diff by and OK aisha@
OK mpi@

show more ...


# 595a2bfb 12-Jun-2021 visa <visa@openbsd.org>

Exercise resetting of expired and unexpired timers.


# c9604848 22-May-2018 cheloha <cheloha@openbsd.org>

kevent: correctly check that timeout's nanoseconds are on [0, 1000000000)

Validate the input with timespecfix before truncating to a timeval.
timespecfix does not round, so we need to to it by hand

kevent: correctly check that timeout's nanoseconds are on [0, 1000000000)

Validate the input with timespecfix before truncating to a timeval.
timespecfix does not round, so we need to to it by hand after validation.

FreeBSD and NetBSD check the input with this range, we ought to as well.

Also add a regression test for this case.

ok tb@

show more ...


# bd35765d 20-Sep-2016 bluhm <bluhm@openbsd.org>

To make debugging the kqueue test easier, always print the assertion
failure before returning.


# f79d7230 05-Dec-2015 blambert <blambert@openbsd.org>

simplistic regress test for KEVENT_TIMER kqueue(2) calls

ok and prodding tedu@