[PATCH v9] y2038: Introduce the __ASSUME_TIME64_SYSCALLS define

Florian Weimer fweimer@redhat.com
Wed Sep 4 16:53:00 GMT 2019


* Joseph Myers:

> On Wed, 4 Sep 2019, Florian Weimer wrote:
>
>> * Lukasz Majewski:
>> 
>> > There was also a conclusion regarding explicit clearing of the padding
>> > if necessary - kernel shall do it (or to be more precise - kernel will
>> > perform modulo operation of the number passed to it from glibc if
>> > needed).
>> 
>> But that's not what the kernel ended up doing, right?
>
> My understanding is that it did - except for the case of compat syscalls 
> under 64-bit kernels 5.1.0 through 5.1.4.

Oh!

Then I don't quite get why we are having this conversation at all.  The
anonymous bit-field hack should solve this quite nicely if we just say
that the exceptional range of kernels you indicated is too buggy to
support in glibc.

What am I missing?

Thanks,
Florian



More information about the Libc-alpha mailing list