64-bit time_t and __WORDSIZE_TIME64_COMPAT32

Andreas Schwab schwab@suse.de
Wed Feb 8 10:06:11 GMT 2023


On Feb 08 2023, Thorsten Kukuk via Libc-alpha wrote:

> I think the only solution would be additional functions like for other
> 32bit time_t functions and use symbol versioning for it?

That won't work as is because struct lastlog and struct utmp describe
the layout of the lastlog and utmp/wtmp files.  That's the whole reason
for the existence of the __WORDSIZE_TIME64_COMPAT32 knob.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list