This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accelerating Y2038 glibc fixes


* Joseph Myers:

> On Mon, 29 Jul 2019, Zack Weinberg wrote:
>
>>    Q5: Is it correct that __ASSUME_TIME64_SYSCALLS is only defined
>>    when the new constants are guaranteed to be defined?
>
> Either the new constants, *or* constants such as __NR_clock_settime if 
> those syscalls use 64-bit time with the same semantics as the suffixed 
> syscalls.
>
> Note that if Florian's changes to include syscall lists in glibc go in 
> then we could assume the constants for the new syscalls are defined in all 
> cases where the old syscalls don't use 64-bit time.  That might slightly 
> simplify some of the code, by eliminating the case "__TIMESIZE == 32, 
> constants for syscalls with 64-bit time are not defined".

Yes, that was part of the motivation for this proposal.  I will try to
resubmit something that follows your suggestions.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]