CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/05/22 13:15:22
Modified files:
regress/sys/kern/kqueue: Makefile kqueue-timer.c main.c main.h
sys/kern : kern_event.c
Log message:
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@