Project

General

Profile

Bug #4791

aac shouldn't abuse ddi_get_time(9f)

Added by Josef Sipek over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
driver - device drivers
Start date:
2014-04-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

ddi_get_time() returns a Unix timestamp based on the current TOD. If the TOD setting changes for whatever reason (daylight saving time adjustments, NTP), the value returned by ddi_get_time() may change non-monotonically. This makes it unsuitable for calculating timeouts and wait times.


Related issues

Related to illumos gate - Bug #4776: man: don't lie about ddi_get_time(9f) usesClosed2014-04-17

Actions

Also available in: Atom PDF