DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Y2038 (was: Re: Userapi, Reflection)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Nov 2003 10:03:53 -0800 (PST)

: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]