about summary refs log tree commit diff
path: root/login/tst-utmp-unsigned.c
Commit message (Collapse)AuthorAgeFilesLines
* login: Use unsigned 32-bit types for seconds-since-epochFlorian Weimer2024-04-191-0/+40
These fields store timestamps when the system was running. No Linux systems existed before 1970, so these values are unused. Switching to unsigned types allows continued use of the existing struct layouts beyond the year 2038. The intent is to give distributions more time to switch to improved interfaces that also avoid locking/data corruption issues. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>