summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 00:34:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 01:10:23 +0200
commit8323a9022eea1b1d149eee6a8121a33c4d007bca (patch)
treeef52255a62526151b98e2cc8ebe90a45762fbfc4
parent743b9c2a98426fb40f8ffee3529c8870bc5300f5 (diff)
downloadglibc-8323a9022eea1b1d149eee6a8121a33c4d007bca.tar.gz
glibc-8323a9022eea1b1d149eee6a8121a33c4d007bca.tar.xz
glibc-8323a9022eea1b1d149eee6a8121a33c4d007bca.zip
hurd: fix conformity test for sys/un.h
sun_len is used by BSD systems, and conformant.

	* conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len
	member.
-rw-r--r--ChangeLog5
-rw-r--r--conform/data/sys/un.h-data1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 381a2ea2b7..cde575fbb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len
+	member.
+
 2018-04-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
diff --git a/conform/data/sys/un.h-data b/conform/data/sys/un.h-data
index 1068440042..4e00742b9e 100644
--- a/conform/data/sys/un.h-data
+++ b/conform/data/sys/un.h-data
@@ -1,6 +1,7 @@
 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
 type {struct sockaddr_un}
 
+optional-element {struct sockaddr_un} {unsigned char} sun_len
 element {struct sockaddr_un} sa_family_t sun_family
 element {struct sockaddr_un} char sun_path []