public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* conformtest: Allow *_t in sys/socket.h [committed]
@ 2017-04-25 16:01 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2017-04-25 16:01 UTC (permalink / raw)
  To: libc-alpha

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-25 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25 16:01 conformtest: Allow *_t in sys/socket.h [committed] Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).