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.26.9000-768-g78cde19


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  78cde19f622cab74e3953c3d0139d51e1076108e (commit)
      from  fa680dc61455acdf8779d82c6f4bba5b48935c08 (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=78cde19f622cab74e3953c3d0139d51e1076108e

commit 78cde19f622cab74e3953c3d0139d51e1076108e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 15 18:41:32 2017 +0000

    Add MSG_ZEROCOPY from Linux 4.14 to bits/socket.h.
    
    This patch adds the new MSG_ZEROCOPY constant from Linux 4.14 to the
    Linux bits/socket.h.
    
    Tested for x86_64.
    
    	* sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
    	constant and macro.

diff --git a/ChangeLog b/ChangeLog
index 6ebdeed..f8f46ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
+	constant and macro.
+
 	* sysdeps/unix/sysv/linux/bits/mman-linux.h
 	[__USE_MISC] (MADV_WIPEONFORK): New macro.
 	[__USE_MISC] (MADV_KEEPONFORK): Likewise.
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index a9d16e2..168a8e5 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -237,6 +237,8 @@ enum
 #define MSG_WAITFORONE	MSG_WAITFORONE
     MSG_BATCH		= 0x40000, /* sendmmsg: more messages coming.  */
 #define MSG_BATCH	MSG_BATCH
+    MSG_ZEROCOPY	= 0x4000000, /* Use user data in kernel path.  */
+#define MSG_ZEROCOPY	MSG_ZEROCOPY
     MSG_FASTOPEN	= 0x20000000, /* Send data in TCP SYN.  */
 #define MSG_FASTOPEN	MSG_FASTOPEN
 

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

Summary of changes:
 ChangeLog                             |    3 +++
 sysdeps/unix/sysv/linux/bits/socket.h |    2 ++
 2 files changed, 5 insertions(+), 0 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]