Page MenuHomeFreeBSD

pf: use time_to for timestamps
ClosedPublic

Authored by kp on Sep 30 2022, 7:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 8:55 PM
Unknown Object (File)
Wed, Sep 9, 9:44 PM
Unknown Object (File)
Sun, Sep 6, 5:12 AM
Unknown Object (File)
Sat, Sep 5, 10:05 AM
Unknown Object (File)
Sat, Sep 5, 5:51 AM
Unknown Object (File)
Fri, Sep 4, 9:53 PM
Unknown Object (File)
Fri, Sep 4, 3:58 AM
Unknown Object (File)
Thu, Sep 3, 11:18 AM

Details

Reviewers
None
Group Reviewers
network
pfsense
Commits
rG1d090028d303: pf: use time_to for timestamps
Summary

Use time_t rather than uint32_t to represent the timestamps. That means
we have 64 bits rather than 32 on all platforms except i386, avoiding
the Y2K38 issues on most platforms.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47653
Build 44540: arc lint + arc unit

Event Timeline

kp requested review of this revision.Sep 30 2022, 7:43 AM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 5 2022, 4:15 PM
This revision was automatically updated to reflect the committed changes.