Missing time64 prototypes for !__REDIRECT compilers
Florian Weimer
fweimer@redhat.com
Mon Jul 5 12:50:46 GMT 2021
* Adhemerval Zanella:
>> I have identified the following system calls:
>>
>> ioctl, fcntl, prctl, sendmmsg, recvmsg, sendmsg, getsockopt, setsockopt.
>>
>> All of them are multiplexers of some kind, and we don't know if the
>> kernel will add different constants for different time_t sizes for
>> future features, given that it's more or less 64-bit time_t only these
>> days.
>
> But kernel afaik uses the time_t size to provide such constant, if it
> adds a new 64-bit time_t only it won't build for _TIME_BITS=32.
Sorry, I don't understand what this means in this context.
I am worried that the kernel will add a new fcntl which expectes a
64-bit struct timespec argument. Without the 64-bit state in the glibc
symbol, glibc would not know whether to rewrite the argument or not for
32-bit applications.
Thanks,
Florian
More information about the Libc-alpha
mailing list