[PATCH 4/5] login: User 64-bit time on struct lastlog

Florian Weimer fweimer@redhat.com
Thu Jul 30 16:19:18 GMT 2020


* Adhemerval Zanella via Libc-alpha:

> On 29/07/2020 18:14, Andreas Schwab wrote:
>> On Jul 29 2020, Adhemerval Zanella via Libc-alpha wrote:
>> 
>>> It is not used directly on any symbol, so there is no need to add
>>> compat ones.
>> 
>> struct lastlog is an external type, describing the format of
>> /var/log/lastlog.
>>
>
> Right, so which would be best way to handle this transition?  My idea
> would to be approach to consumers, shadow-utils developers for instance,
> and state the desirable to make glibc y2038 proof and why this interfaces
> need to be changed.

Sounds reasonable.  We also have a security bug that is related to
direct access to these files:

  <https://sourceware.org/bugzilla/show_bug.cgi?id=24492>

If we need to mediate access for format translation, maybe this can be
addressed at the same time?

Thanks,
Florian



More information about the Libc-alpha mailing list