conformtest: Allow *_t in sys/socket.h [committed]

Joseph Myers joseph@codesourcery.com
Tue Apr 25 16:01:00 GMT 2017


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.  Committed.

2017-04-25  Joseph Myers  <joseph@codesourcery.com>

	* conform/data/sys/socket.h-data (*_t): Allow.

diff --git a/conform/data/sys/socket.h-data b/conform/data/sys/socket.h-data
index 442d4d2..7cdfec5 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

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list