]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux: Add time64 select support
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 Jul 2020 19:06:51 +0000 (16:06 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 28 Sep 2020 19:21:48 +0000 (16:21 -0300)
commit2433d39b69743f100f972e7886f91a2e21795ef0
tree39497b3a34f148b79e614a1281685339dd5bb0e3
parent50e19ddfcd49cb9e012a6288881a77a48fb0aeaa
linux: Add time64 select support

The syscall __NR_pselect6_time64 (32-bit) or __NR_pselect6 (64-bit)
is used as default.  For architectures with __ASSUME_TIME64_SYSCALLS
the 32-bit fallback uses __NR_select/__NR__newselect or __NR_pselect6
(it should cover the microblaze case where older kernels do not
provide __NR_pselect6).

Checked on x86_64-linux-gnu and i686-linux-gnu (on 5.4 and on 4.15
kernel).

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
include/sys/select.h
include/time.h
sysdeps/unix/sysv/linux/select.c