Y2038 (was: Re: Userapi, Reflection)
Matthew Dillon
dillon at apollo.backplane.com
Wed Nov 5 10:07:32 PST 2003
:Hmm, maybe I misunderstood the thrust of the thread. Wouldn't it be
:possible (indeed, desirable) to store the time internally as a
:struct tai (or whatever) and have the 'personality module' translate it
:on demand for programs that expect a signed-32-bit-seconds-since-1970?
:
:Granted, the programs themselves would still be Y2038-broken... but if
:the operating system isn't, they really have no excuse - and the process
:of healing them could begin.
:
:Unless, of course, I seriously misunderstand one or both of the issues
:involved, which is very possible.
:
:-Chris
Yes, absolutely. The syscall messaging version of the time functions
could and should return 64 bit quantities.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Kernel
mailing list