Browse Source

network: Fix missing bits from {recv,send}{m}msg standard com,pliance

This patch fixes wrong/missing bits from the Fix {recv,send}{m}msg
standard compliance (BZ#16919) patches:

  * nptl/Makefile sets CFLAGS-oldrecvfrom.c, but there's no such file as
    oldrecvfrom.c.  It should be oldsendmsg.c as defined by ChangeLog.

  * sysdeps/unix/sysv/linux/hppa/Versions and
    sysdeps/unix/sysv/linux/i386/Versions list a symbol recvms instead of
    recvmsg at version GLIBC_2.24.

	* nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
	(CFLAGS-oldsendmsg.c): Add rule.
	* sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
	Correct recvmsg symbol name.
	* sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
	Likewise.
hjl/pr20309/master
Adhemerval Zanella 10 years ago
parent
commit
2f0dc39029
  1. 9
      ChangeLog
  2. 2
      nptl/Makefile
  3. 2
      sysdeps/unix/sysv/linux/hppa/Versions
  4. 2
      sysdeps/unix/sysv/linux/i386/Versions

9
ChangeLog

@ -1,3 +1,12 @@
2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
(CFLAGS-oldsendmsg.c): Add rule.
* sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
Correct recvmsg symbol name.
* sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
Likewise.
2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/Makefile

2
nptl/Makefile

@ -208,7 +208,7 @@ CFLAGS-sendto.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-connect.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-oldrecvmsg.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-oldrecvfrom.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-oldsendmsg.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-pt-system.c = -fexceptions

2
sysdeps/unix/sysv/linux/hppa/Versions

@ -36,6 +36,6 @@ libc {
fanotify_mark;
}
GLIBC_2.24 {
recvms; sendmsg;
recvmsg; sendmsg;
}
}

2
sysdeps/unix/sysv/linux/i386/Versions

@ -46,7 +46,7 @@ libc {
fallocate64;
}
GLIBC_2.24 {
recvms; sendmsg;
recvmsg; sendmsg;
}
GLIBC_PRIVATE {
__modify_ldt;

Loading…
Cancel
Save