7

Kukuk: Y2038, glibc and utmp/utmpx on 64bit architectures

 1 year ago
source link: https://lwn.net/Articles/925068/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Y2038, glibc and utmp/utmpx on 64bit architectures [LWN.net]

User: Password: | |

Kukuk: Y2038, glibc and utmp/utmpx on 64bit architectures

[Posted March 3, 2023 by corbet]
Thorsten Kukuk demonstrates that we are not done with year-2038 problems yet.
The general statement so far has always been that on 64bit systems with a 64bit time_t you are safe with respect to the Y2038 problem. But glibc uses for compatibility with 32bit userland applications 32bit time_t in some places even on 64bit systems.

One of those places is the utmp file. The post includes a proposal for solving the problem by getting rid of utmp entirely.


(Log in to post comments)

Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK