[PATCH] Y2038: provide kernel support indication

Albert ARIBAUD albert.aribaud@3adev.fr
Wed Sep 26 08:55:00 GMT 2018


Hi Arnd,

Le Wed, 26 Sep 2018 10:40:48 +0200, Arnd Bergmann <arnd@arndb.de> a
écrit :

> Also, we have to make a hard requirement of using kernel
> headers from a fixed version for building the application, so things
> like ioctl command numbers, magic mmap() offsets and setsockopt
> options can take the right values depending on sizeof(time_t)
> to let the kernel know which ABI the user expects.

Since Y2038-proof glibc will require a minimum kernel version to
build that is Y2038-proof too (as glibc will need to use the new __NR_*
syscall names defined by the kernel). Isn't that requirement enough? 

Cordialement,
Albert ARIBAUD
3ADEV



More information about the Libc-alpha mailing list