]> sourceware.org Git - glibc.git/commit
tst-clone3: Use __NR_futex_time64 if we don't have __NR_futex
authorAlistair Francis <alistair.francis@wdc.com>
Mon, 11 Nov 2019 23:07:19 +0000 (15:07 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 14 Feb 2020 22:40:34 +0000 (14:40 -0800)
commitf6a9b6b08ea0fddad48d908729f866d3c30955ed
tree6b2cbf8f3b63636ea0de15c6dbe2e092af5b2d15
parenta803367bab167f5ec4fde1f0d0ec447707c29520
tst-clone3: Use __NR_futex_time64 if we don't have __NR_futex

We can't include sysdep.h in the test case (it introduces lots of
strange failures) so __NR_futex isn't redifined to __NR_futex_time64 by
64-bit time_t 32-bit archs (y2038 safe).

To allow the test to pass let's just do the __NR_futex_time64 syscall if
we don't have __NR_futex defined.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/tst-clone3.c
This page took 0.040059 seconds and 5 git commands to generate.