freebsd-dev/tests/sys
Kyle Evans 9c999a259f kqueue: don't arbitrarily restrict long-past values for NOTE_ABSTIME
NOTE_ABSTIME values are converted to values relative to boottime in
filt_timervalidate(), and negative values are currently rejected.  We
don't reject times in the past in general, so clamp this up to 0 as
needed such that the timer fires immediately rather than imposing what
looks like an arbitrary restriction.

Another possible scenario is that the system clock had to be adjusted
by ~minutes or ~hours and we have less than that in terms of uptime,
making a reasonable short-timeout suddenly invalid. Firing it is still
a valid choice in this scenario so that applications can at least
expect a consistent behavior.

Reviewed by:	kib, markj
Discussed with:	allanjude
Differential Revision:	https://reviews.freebsd.org/D32230
2021-09-30 21:31:24 -05:00
..
acl tests/sys/acl: Add ATF C test for newly added acl_* functions. 2021-08-27 11:52:21 +03:00
aio Temporarily skip flaky tset cases under sys.aio.aio_test in CI 2021-09-29 03:32:47 +08:00
audit
auditpipe
capsicum Fix MK_TESTS build with MK_ASAN/MK_UBSAN 2021-08-02 14:33:24 +01:00
cddl
common pf tests: test ALTQ CBQ on top of if_vlan 2021-08-25 08:57:10 +02:00
devrandom
fifo
file vfs: Permit unix sockets to be opened with O_PATH 2021-09-17 14:19:06 -04:00
fs fusefs: implement FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT 2021-09-26 21:57:29 -06:00
geom gmultipath failloop test: Put the dtrace sanity checker in right place 2021-09-29 02:38:34 +08:00
kern
kqueue kqueue: don't arbitrarily restrict long-past values for NOTE_ABSTIME 2021-09-30 21:31:24 -05:00
mac
mqueue
net bridge tests: verify that we can't change MTU of bridge member interfaces 2021-07-28 22:03:38 +02:00
netgraph tests/netgraph: Check for PR241954 2021-06-13 22:29:56 +02:00
netinet netinet tests: delete an interface with pending lookups 2021-08-17 17:01:21 +02:00
netinet6 tests: Only log critical errors from scapy 2021-05-12 20:54:30 +02:00
netipsec
netmap netmap: update unit tests with libnetmap tests 2021-04-02 14:39:30 +00:00
netpfil pf tests: Basic adaptive mode syncookie test 2021-09-29 15:42:01 +02:00
opencrypto cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused 2021-05-06 16:34:55 -06:00
pjdfstest
posixshm posixshmtest: Fix various warnings raised by GCC. 2021-09-15 09:03:18 -07:00
sys tests/sys/sys: Raise WARNS 2021-09-24 11:31:53 -04:00
vfs
vm shared shadow vm object invalidation regression test 2021-04-07 12:39:05 -07:00
vmm vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile.depend
Makefile.inc