glibc/sysvipc
Adhemerval Zanella eef7913c2f linux: Only use 64-bit syscall if required for semtimedop
For !__ASSUME_TIME64_SYSCALLS there is no need to issue a 64-bit syscall
if the provided timeout fits in a 32-bit one.  The 64-bit usage should
be rare since the timeout is a relative one.

Checked on i686-linux-gnu on a 4.15 kernel and on a 5.11 kernel
(with and without --enable-kernel=5.1) and on x86_64-linux-gnu.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2021-06-22 12:09:52 -03:00
..
sys
ftok.c Use 64 bit time_t stat internally 2021-06-22 12:09:52 -03:00
Makefile linux: Only use 64-bit syscall if required for semtimedop 2021-06-22 12:09:52 -03:00
msgctl.c
msgget.c
msgrcv.c
msgsnd.c
semctl.c
semget.c
semop.c
semtimedop.c
shmat.c
shmctl.c
shmdt.c
shmget.c
test-sysvipc.h
test-sysvmsg-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
test-sysvmsg.c
test-sysvsem-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
test-sysvsem.c linux: Only use 64-bit syscall if required for semtimedop 2021-06-22 12:09:52 -03:00
test-sysvshm-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
test-sysvshm.c
Versions