[Bug 236065] TimeStamp Overflow 2106 year

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 26 20:13:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236065

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not Enough Information
             Status|New                         |Closed

--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
How are you setting the date and reading the date?

FreeBSD does use 64-bit for time_t on amd64, but cannot control the hardware
clock's range.  Given you observe the correct date prior to reboot, I think
we're probably doing the right thing in the OS.

I believe the lost range after reboot is due to a limitation of your PC
hardware's clock (atrtc(4)), which uses two digits of binary-coded decimal for
the year; years wrap at exactly 100 years, which is what you observed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list