Skip to main content

Linux is Ready for the End of Time

January 19, 2038 is for Linux what Y2K was for mainframe and PC computers in 2000, reports ZDNet. It's the day that the value for time "runs out of numbers" and, in the case of 32-bit Unix-based operating systems like Linux and older versions of macOS, "starts counting time with negative numbers..."

"But the fixes are underway to make sure all goes well when that fatal time rolls around." nickwinlund77 shared their report: Linux developers have seen this coming for decades. So, Linux kernel developer Arnd Bergmann and others have been working on a repair. These corrections are now in the forthcoming Linux 5.6 kernel. Bergmann explained, "Linux-5.6, or my backport of the patches to 5.4, should be the first release that can serve as a base for a 32-bit system designed to run beyond year 2038."

There are some caveats:

- All user space must be compiled with a 64-bit time_t, which will be supported in the coming musl-1.2 and glibc-2.32 releases, along with installed kernel headers from Linux-5.6 or higher.

- Applications that use the system call interfaces directly need to be ported to use the time64 syscalls added in Linux-5.1 in place of the existing system calls.

- Applications that use a private copy of kernel uapi header files or their contents may need to update to the Linux-5.6 version.

- A few remaining interfaces cannot be changed to pass a 64-bit time_t in a compatible way, so they must be configured to use CLOCK_MONOTONIC times...

After we fix this, we won't have to worry about 64-bit Linux running out of seconds until 15:30:08 GMT Sunday, December 4, 29,227,702,659. Personally, I'm not going to worry about that one.



from Slashdot: News for nerds, stuff that matters https://ift.tt/2UUpSl9
via IFTTT

Comments

Popular posts from this blog

Dark Mode vs. Light Mode: Which Is Better?

Recently a well-respected UI consulting firm (the Nielsen Norman Group) published their analysis of academic studies on the question of whether Dark Mode or Light Mode was better for reading? Cosima Piepenbrock and her colleagues at the Institut für Experimentelle Psychologie in Düsseldorf, Germany studied two groups of adults with normal (or corrected-to-normal) vision: young adults (18 to 33 years old) and older adults (60 to 85 years old). None of the participants suffered from any eye diseases (e.g., cataract)... Their results showed that light mode won across all dimensions : irrespective of age, the positive contrast polarity was better for both visual-acuity tasks and for proofreading tasks... Another study, published in the journal Human Factors by the same research group, looked at how text size interacts with contrast polarity in a proofreading task. It found that the positive-polarity advantage increased linearly as the font size was decreased: namely, the smaller the fon...

Hate Those Robocalls? This Service Lets You Sue Them for Up to $3,000 Per Annoying Call

2 hrs ago Save News 2 hrs ago News 2 hrs ago News Hate Those Robocalls? This Service Lets You Sue Them for Up to $3,000 Per Annoying Call Jody Serrano Save Until now, the majority of us might have simply hung up on robocallers. However, there’s now a way to get back at the companies who torment you with endless robocalls that ask you for your information or try to sell you stuff. The solution is called Robo Revenge, a service that lets you sue the unwanted caller for up… from Gizmodo | We come from the future https://ift.tt/2vzIYCv via IFTTT

'Sonic the Hedgehog' Has Biggest-Ever Opening For a Video Game Adaptation

An anonymous reader quotes The Wrap: "Sonic the Hedgehog" is giving Paramount its best box office news in over a year, with a currently 3-day opening weekend of $55 million to become the best opening weekend ever for a video game adaptation ... The delayed release of this film prompted by an intense rejection of Sonic's initial design is turning out to be a bit of a blessing in disguise. Moved from last November to this extended Presidents' Day weekend, "Sonic" is standing out in the movie marketplace as a popular family offering with no major competition currently in theaters and none coming until Pixar's "Onward" arrives in three weeks. Audience reception, driven by both families and hardcore Sonic fans, has been very strong with an A on CinemaScore, 4/5 on Postrak, and 95% audience score on Rotten Tomatoes. Even critics have been fairly positive with a 65% Rotten Tomatoes score... If this weekend's estimates hold, "Sonic" wi...