Page MenuHomeFreeBSD

pf: use time_to for timestamps
ClosedPublic

Authored by kp on Sep 30 2022, 7:43 AM.
Tags
None
Referenced Files
F166319413: D36837.id.diff
Wed, Aug 12, 9:25 PM
Unknown Object (File)
Mon, Aug 10, 8:39 AM
Unknown Object (File)
Sat, Aug 8, 3:35 AM
Unknown Object (File)
Fri, Jul 24, 9:18 PM
Unknown Object (File)
Sun, Jul 19, 2:13 PM
Unknown Object (File)
Sat, Jul 18, 12:35 PM
Unknown Object (File)
Jun 11 2026, 9:18 AM
Unknown Object (File)
Jun 10 2026, 9:39 PM

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 Not Applicable
Unit
Tests Not Applicable

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.