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
MFC after: 3 weeks

Details

Provenance
jan.kokemueller_gmail.comAuthored on Jan 9 2021, 7:00 PM
gbeCommitted on Jan 9 2021, 7:00 PM
Parents
rGc8eee7c0bf9a: ldd: renumber executable type constants
Branches
Unknown
Tags
Unknown