1 (edited by librecat 2026-01-01 10:20:32)

Topic: time64

time64 is a global intitiative to force the use of 64 bit time on 32 bit systems to mitigate against the upcoming year 2038 bug(any year bug occurs from unsigned(positive only) numbers underflowing to their minimum value after adding 1 to their maximum value because in binary 1 + 1 = 0 with carry and there is no place to store the carry. this causes the time variable to loop back to 0 which represents january 1st 1970 per unix tradition in almost any system)

to prevent this bug from occuring we must identify and change all time related variables in all programs to a 64 bit unsigned number (uint64_t) explicitly instead of using the regular unsigned int type(it could also be disguised as time_t) in C before 2038

affected components:
linux kernel
hyperbk(?)
ext2 filesystem