[RFC PATCH 0/4] Running on CONFIG_COMPAT_32BIT_TIME=n kernels
Arnd Bergmann
arnd@arndb.de
Wed Nov 11 13:22:27 GMT 2026
On Wed, Nov 11, 2026, at 13:08, Adhemerval Zanella Netto wrote:
> On 10/11/26 11:51, Arnd Bergmann wrote:
>>
>> The series has not seen any testing so far and is only an RFC to
>> see if my approach can find consensus. If this is acceptable,
>> I'd properly test it to see that this actually works with
>> CONFIG_COMPAT_32BIT_TIME=n on a full system.
>
> I think we should close the missing spots where __ASSUME_TIME64_SYSCALLS
> is not always using 64 bit time_t syscall. We already do this for newer
> ABI like risc32, but since COMPAT_32BIT_TIME=n is not enforced we haven't
> closed this for old ABIs.
>
> The patches have some issue though, I replied with my findings. I also
> fixed all them [1] and checked on a x86_64 kernel built with
> CONFIG_COMPAT_32BIT_TIME=n and i686 shows no regression when built with
> --enable-kernel=5.1.
>
> I will probably check armhf as well (although on an aarch64 kernel and
> maybe on qemu as well).
>
> [1]
> https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/azanella/arnd-time64
Thanks a lot for the detailed review and fixing up my mistakes!
I was a little confused by your __poll() change but it does look
correct for all cases once I understood the idea. Your other changes
immediately made sense.
Arnd
More information about the Libc-alpha
mailing list