about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-04-25 16:00:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-04-25 16:00:28 +0000
commit3fa6e4872d63b57d77c545ef1fbcbb8b0796d232 (patch)
tree10462398ae769ce2cfcb43427074f8b08639b364
parent249548e476495e4714ba1f4593ebc04ce5dc2094 (diff)
downloadglibc-3fa6e4872d63b57d77c545ef1fbcbb8b0796d232.tar.gz
glibc-3fa6e4872d63b57d77c545ef1fbcbb8b0796d232.tar.xz
glibc-3fa6e4872d63b57d77c545ef1fbcbb8b0796d232.zip
conformtest: Allow *_t in sys/socket.h.
The conformtest expectations in sys/socket.h are missing the standard
POSIX allowance for all headers to define *_t names.  For XSI standard
versions that allowance comes in via the permission to include
<sys/uio.h> (for which the expectations properly allow *_t), but for
non-XSI POSIX nothing brings in that allowance and spurious namespace
failures occur.  This patch adds the required permission to the
expectations to remove the spurious failures (by itself this does not
allow any XFAILs to be removed).

Tested for x86_64.

	* conform/data/sys/socket.h-data (*_t): Allow.
-rw-r--r--ChangeLog4
-rw-r--r--conform/data/sys/socket.h-data1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f4f9aa42d..90ddfe0eae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* conform/data/sys/socket.h-data (*_t): Allow.
+
 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
diff --git a/conform/data/sys/socket.h-data b/conform/data/sys/socket.h-data
index 442d4d288a..7cdfec530d 100644
--- a/conform/data/sys/socket.h-data
+++ b/conform/data/sys/socket.h-data
@@ -136,4 +136,5 @@ allow MSG_*
 allow PF_*
 allow SCM_*
 allow SHUT_*
+allow *_t
 #endif