about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-10-25 20:38:37 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-12-28 20:28:56 -0200
commit356c0aabd0191cdd7287ccf1ec8bbaa4862a0823 (patch)
treeff179c3d7a7a1b95ff22ffccf88554ec2137b9df /ChangeLog
parent1e5834c38a22bc6bee7bae4347f21baee5196724 (diff)
downloadglibc-356c0aabd0191cdd7287ccf1ec8bbaa4862a0823.tar.gz
glibc-356c0aabd0191cdd7287ccf1ec8bbaa4862a0823.tar.xz
glibc-356c0aabd0191cdd7287ccf1ec8bbaa4862a0823.zip
Consolidate Linux msgctl implementation
This patch consolidates the msgctl Linux implementation in only
one default file, sysdeps/unix/sysv/linux/msgctl.c.  If tries to use
the direct syscall if it is supported, otherwise will use the old ipc
multiplex mechanism.

The patch also simplify header inclusion and reorganize internal
compat symbol to be built only if old ipc is defined.

Checked on x86_64, i686, powerpc64le, aarch64, and armhf.

	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
	oldmsgctl.
	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
	* sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
	* sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
	implementation.
	* sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
	if defined.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ba8fee56a..99112e9fb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
+	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
+	oldmsgctl.
+	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
+	* sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
+	* sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
+	* sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
+	* sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
+	* sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
+	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
+	Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
+	* sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
+	implementation.
+	* sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
+	if defined.
+
 	* sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
 	* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
 	definition and define its own.