Project

General

Profile

Bug #4776

man: don't lie about ddi_get_time(9f) uses

Added by Josef Sipek about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
manpage - manual pages
Start date:
2014-04-17
Due date:
% Done:

100%

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

Description

The manpage actively encourages developers to do something that's dangerous.

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.


Related issues

Related to illumos gate - Bug #4777: ibdm shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4778: iprb shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4779: vhci shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4781: sd shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4782: usba shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4780: comstar iSCSI target shouldn't abuse ddi_get_time(9f)Closed2014-04-17

Actions
Related to illumos gate - Bug #4786: emlxs shouldn't abuse ddi_get_time(9f)New2014-04-21

Actions
Related to illumos gate - Bug #4787: ipf: remove rate_limit_messageClosed2014-04-21

Actions
Related to illumos gate - Bug #4788: mac shouldn't abuse ddi_get_time(9f)Closed2014-04-21

Actions
Related to illumos gate - Bug #4791: aac shouldn't abuse ddi_get_time(9f)New2014-04-21

Actions
Related to illumos gate - Bug #4790: arcmsr shouldn't abuse ddi_get_time(9f)New2014-04-21

Actions
Related to illumos gate - Bug #4789: amr shouldn't abuse ddi_get_time(9f)New2014-04-21

Actions
Related to illumos gate - Bug #4792: heci shouldn't abuse ddi_get_time(9f)New2014-04-21

Actions

History

#1

Updated by Electric Monk about 5 years ago

  • % Done changed from 80 to 100
  • Status changed from New to Closed

git commit 084f5824534451de5631228a9637b2c7bc7322cd

commit  084f5824534451de5631228a9637b2c7bc7322cd
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Date:   2014-05-14T23:32:20.000Z

    4776 man: don't lie about ddi_get_time(9f) uses
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF