mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
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 |
||
|---|---|---|
| .. | ||
| common.h | ||
| config.h | ||
| kqueue_test.sh | ||
| main.c | ||
| Makefile | ||
| Makefile.depend | ||
| proc.c | ||
| read.c | ||
| signal.c | ||
| timer.c | ||
| user.c | ||
| vnode.c | ||