HomeFreeBSD

kevent(2): Bugfix for wrong EVFILT_TIMER timeouts

Description

kevent(2): Bugfix for wrong EVFILT_TIMER timeouts

When using NOTE_NSECONDS in the kevent(2) API, US_TO_SBT should be
used instead of NS_TO_SBT, otherwise the timeout results are
misleading.

PR: 252539
Reviewed by: kevans, kib
Approved by: kevans
Differential Revision: https://reviews.freebsd.org/D28067

(cherry picked from commit 4d0c33be634a929f323117f04e6b1670776f9e37)

Details

Provenance
jan.kokemueller_gmail.comAuthored on Jan 9 2021, 7:00 PM
gbeCommitted on Jan 30 2021, 10:11 AM
Reviewer
kevans
Differential Revision
D28067: kevent(2): wrong EVFILT_TIMER timeouts when using NOTE_NSECONDS
Parents
rGf56d7f838f5b: elfctl: prefix disable flags with "no"
Branches
Unknown
Tags
Unknown