This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-257-gef0e5f2


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  ef0e5f2f5c967a4a37b93e28eef6716c4dcda85d (commit)
      from  3e4df7ef132b347859a64d5231aa40cf857f0a35 (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=ef0e5f2f5c967a4a37b93e28eef6716c4dcda85d

commit ef0e5f2f5c967a4a37b93e28eef6716c4dcda85d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon May 1 15:11:33 2017 +0000

    Add PF_SMC, AF_SMC from Linux 4.11 to bits/socket.h.
    
    This patch adds the PF_SMC / AF_SMC macros from Linux 4.11 to
    sysdeps/unix/sysv/linux/bits/socket.h.
    
    Tested for x86_64.
    
    	* sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
    	(PF_MAX): Set to 44.
    	(AF_SMC): New macro.

diff --git a/ChangeLog b/ChangeLog
index 593fc2f..9bcc4a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
+	(PF_MAX): Set to 44.
+	(AF_SMC): New macro.
+
 	* scripts/build-many-glibcs.py (Context.checkout): Default Linux
 	kernel version to 4.11.
 
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 6d6d56e..ec2bf85 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -84,7 +84,8 @@ typedef __socklen_t socklen_t;
 #define PF_VSOCK	40	/* vSockets.  */
 #define PF_KCM		41	/* Kernel Connection Multiplexor.  */
 #define PF_QIPCRTR	42	/* Qualcomm IPC Router.  */
-#define PF_MAX		43	/* For now..  */
+#define PF_SMC		43	/* SMC sockets.  */
+#define PF_MAX		44	/* For now..  */
 
 /* Address families.  */
 #define AF_UNSPEC	PF_UNSPEC
@@ -133,6 +134,7 @@ typedef __socklen_t socklen_t;
 #define AF_VSOCK	PF_VSOCK
 #define AF_KCM		PF_KCM
 #define AF_QIPCRTR	PF_QIPCRTR
+#define AF_SMC		PF_SMC
 #define AF_MAX		PF_MAX
 
 /* Socket level values.  Others are defined in the appropriate headers.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                             |    4 ++++
 sysdeps/unix/sysv/linux/bits/socket.h |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]