This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.23-347-gf9b437d
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 23 May 2016 13:28:24 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-347-gf9b437d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f9b437d5efce93800b51ad2a437c8b1c9616bf80 (commit)
from b7598b1b855b39628104feb9a1f6151a86351a64 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f9b437d5efce93800b51ad2a437c8b1c9616bf80
commit f9b437d5efce93800b51ad2a437c8b1c9616bf80
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon May 23 13:27:37 2016 +0000
Update sysdeps/unix/sysv/linux/bits/socket.h for Linux 4.6.
This patch updates sysdeps/unix/sysv/linux/bits/socket.h for new
constants added in Linux 4.6. AF_KCM / PF_KCM are added. SOL_KCM is
new, and I added a lot of SOL_* values postdating the last one present
in the header, since I saw no apparent reason for the set in glibc to
stop at SOL_IRDA. MSG_BATCH is added; Linux also has
MSG_SENDPAGE_NOTLAST which is not in glibc, but given the comment
starts "sendpage() internal" I presume it's correct for it not to be
in glibc.
(Note that this is a case where the Linux kernel header with userspace
relevant values is *not* a uapi header but include/linux/socket.h - I
don't know why, but at least this header, as well as uapi headers,
needs reviewing for glibc-relevant changes each release.)
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).
* sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
(PF_MAX): Update value.
(AF_KCM): New macro.
(SOL_NETBEUI): Likewise.
(SOL_LLC): Likewise.
(SOL_DCCP): Likewise.
(SOL_NETLINK): Likewise.
(SOL_TIPC): Likewise.
(SOL_RXRPC): Likewise.
(SOL_PPPOL2TP): Likewise.
(SOL_BLUETOOTH): Likewise.
(SOL_PNPIPE): Likewise.
(SOL_RDS): Likewise.
(SOL_IUCV): Likewise.
(SOL_CAIF): Likewise.
(SOL_ALG): Likewise.
(SOL_NFC): Likewise.
(SOL_KCM): Likewise.
(MSG_BATCH): New enum value and macro.
diff --git a/ChangeLog b/ChangeLog
index c5ed4cd..45440d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2016-05-23 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
+ (PF_MAX): Update value.
+ (AF_KCM): New macro.
+ (SOL_NETBEUI): Likewise.
+ (SOL_LLC): Likewise.
+ (SOL_DCCP): Likewise.
+ (SOL_NETLINK): Likewise.
+ (SOL_TIPC): Likewise.
+ (SOL_RXRPC): Likewise.
+ (SOL_PPPOL2TP): Likewise.
+ (SOL_BLUETOOTH): Likewise.
+ (SOL_PNPIPE): Likewise.
+ (SOL_RDS): Likewise.
+ (SOL_IUCV): Likewise.
+ (SOL_CAIF): Likewise.
+ (SOL_ALG): Likewise.
+ (SOL_NFC): Likewise.
+ (SOL_KCM): Likewise.
+ (MSG_BATCH): New enum value and macro.
+
2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18185]
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 0581c79..a57048c 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -82,7 +82,8 @@ typedef __socklen_t socklen_t;
#define PF_ALG 38 /* Algorithm sockets. */
#define PF_NFC 39 /* NFC sockets. */
#define PF_VSOCK 40 /* vSockets. */
-#define PF_MAX 41 /* For now.. */
+#define PF_KCM 41 /* Kernel Connection Multiplexor. */
+#define PF_MAX 42 /* For now.. */
/* Address families. */
#define AF_UNSPEC PF_UNSPEC
@@ -129,6 +130,7 @@ typedef __socklen_t socklen_t;
#define AF_ALG PF_ALG
#define AF_NFC PF_NFC
#define AF_VSOCK PF_VSOCK
+#define AF_KCM PF_KCM
#define AF_MAX PF_MAX
/* Socket level values. Others are defined in the appropriate headers.
@@ -142,6 +144,21 @@ typedef __socklen_t socklen_t;
#define SOL_ATM 264 /* ATM layer (cell level). */
#define SOL_AAL 265 /* ATM Adaption Layer (packet level). */
#define SOL_IRDA 266
+#define SOL_NETBEUI 267
+#define SOL_LLC 268
+#define SOL_DCCP 269
+#define SOL_NETLINK 270
+#define SOL_TIPC 271
+#define SOL_RXRPC 272
+#define SOL_PPPOL2TP 273
+#define SOL_BLUETOOTH 274
+#define SOL_PNPIPE 275
+#define SOL_RDS 276
+#define SOL_IUCV 277
+#define SOL_CAIF 278
+#define SOL_ALG 279
+#define SOL_NFC 280
+#define SOL_KCM 281
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 128
@@ -213,6 +230,8 @@ enum
#define MSG_MORE MSG_MORE
MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/
#define MSG_WAITFORONE MSG_WAITFORONE
+ MSG_BATCH = 0x40000, /* sendmmsg: more messages coming. */
+#define MSG_BATCH MSG_BATCH
MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */
#define MSG_FASTOPEN MSG_FASTOPEN
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 22 ++++++++++++++++++++++
sysdeps/unix/sysv/linux/bits/socket.h | 21 ++++++++++++++++++++-
2 files changed, 42 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources