summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/kqueue/kqueue-timer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kevent: correctly check that timeout's nanoseconds are on [0, 1000000000)cheloha2018-05-221-1/+30
| | | | | | | | | | | 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@
* To make debugging the kqueue test easier, always print the assertionbluhm2016-09-201-13/+16
| | | | failure before returning.
* simplistic regress test for KEVENT_TIMER kqueue(2) callsblambert2015-12-051-0/+67
ok and prodding tedu@