]> sourceware.org Git - glibc.git/commit
linux: Add time64 semtimedop support
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 Jul 2020 20:40:34 +0000 (17:40 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 11 Sep 2020 17:42:05 +0000 (14:42 -0300)
commit7c437d37789939a1411da0c04f748384bc5aee59
tree0238e47aced2d9c22ca97457f8773dbd4c500ac2
parent60a2e28b34b41e1a4e50feec7b38e068c9e33eec
linux: Add time64 semtimedop support

Either the __NR_semtimedop_time64 (for 32-bit) or the __NR_semtimedop
(for 64-bit) syscall is used as default.  The 32-bit fallback is used
iff __ASSUME_TIME64_SYSCALLS is not defined, which assumes the kernel
ABI provides either __NR_ipc or __NR_semtimeop (for 32-bit time_t).

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>
sysdeps/unix/sysv/linux/include/sys/sem.h
sysdeps/unix/sysv/linux/semtimedop.c
This page took 0.041953 seconds and 5 git commands to generate.