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: [PATCH v4 1/2] y2038: linux: Provide __timerfd_gettime64 implementation


* Lukasz Majewski:

> Only Linux version >= 5.1 supports 64 bit time on archs with __WORDSIZE
> = 32. I do guess (but I may be wrong here) that the arch-syscall is
> supposed to reflect the exact syscalls provided by kernel headers used
> for building (to help with validation of Y2038 patches).

The tables are supposed to be complete in the sense that they include
all system calls which

(a) have a system call number assigned in some recent kernel version,
    and

(b) are actually used during the glibc build in some way.

The intent is that you can build glibc against older kernel headers (say
Linux 4.18) and still get the exact same system call profile as you
would get when building against Linux 5.3 (or Linux 4.18 with random
system call backports).

As Adhemerval pointed out, (a) can be problematic in the sense that
system call numbers could be added late on some architectures.  This
only matters if their existence actually affects the glibc build, as per
(b).  But if it does, we would have to update the tables.

Thanks,
Florian


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