]> git.ipfire.org Git - thirdparty/glibc.git/commit
sysvipc: Implement semop based on semtimedop
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 11 Oct 2019 14:39:04 +0000 (11:39 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 17 Oct 2019 14:05:40 +0000 (11:05 -0300)
commit765cdd0bffd77960ae852104fc4ea5edcdb8aed3
tree84fcbd5898b0a53b29af09ea49e07c28e21d6bd0
parent06436acf819d9e6ada7be3ca977d5c0a23d3f138
sysvipc: Implement semop based on semtimedop

Besides semop being a subset of semtimedop, new 32-bit architectures
on Linux are not expected to provide the syscall (only the 64-bit time
semtimedop).

Also, Linux 5.1 only wired-up semtimedop for the 64-bit architectures
that missed it (powerpc, s390, and sparc).  This simplifies the code
to support it.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
include/sys/sem.h
sysdeps/unix/sysv/linux/semop.c
sysdeps/unix/sysv/linux/semtimedop.c
sysvipc/semtimedop.c