[PATCH v2 4/7] login: Add 64-bit time support to utmp/utmpx

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Aug 5 20:54:17 GMT 2020



On 05/08/2020 17:43, Joseph Myers wrote:
> On Wed, 5 Aug 2020, Adhemerval Zanella via Libc-alpha wrote:
> 
>> I thought keeping the same filename for architectures that already
>> have 64-bit ut_tv member.  However, currently only s390 fits in this
>> category and it would make it an outlier.  It means that glibc on s390
> 
> But it's not just s390.  aarch64, alpha, arc, ia64 all look like they use 
> 64-bit times in struct utmp.
> 

Indeed, my mistake (I forgot not all 64-bit time_t architecture define
__WORDSIZE_TIME64_COMPAT32).  I don't have a strong opinion in fact, 
at least the change should be simple somewhat (I think adding a new
paths-utmp.h included by paths.h and defined by arch ABI that requires
it).


More information about the Libc-alpha mailing list