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.23-91-g981569c


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  981569c74cbb6bafa2ddcefa6dd9dbdc938ff1c8 (commit)
      from  3205a39364dd79e52c5fda4bda0db526e704ae2b (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=981569c74cbb6bafa2ddcefa6dd9dbdc938ff1c8

commit 981569c74cbb6bafa2ddcefa6dd9dbdc938ff1c8
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Mar 14 19:04:53 2016 +0000

    Update glibc headers for Linux 4.5.
    
    This patch updates the glibc headers with the defines MADV_FREE,
    IPV6_HDRINCL and EPOLLEXCLUSIVE that are added in Linux 4.5.
    
    Tested for x86_64 and x86 (testsuite, and that installed stripped
    shared libraries are unchanged by the patch).
    
    	* bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
    	* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
    	(MADV_FREE): Likewise.
    	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
    	* sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
    	EPOLLEXCLUSIVE.

diff --git a/ChangeLog b/ChangeLog
index 993e7f2..41335b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-03-14  Joseph Myers  <joseph@codesourcery.com>
+
+	* bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
+	* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
+	(MADV_FREE): Likewise.
+	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
+	* sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
+	EPOLLEXCLUSIVE.
+
 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
 
 	* timezone/README: Remove mention of checktab.awk. Mention wiki
diff --git a/bits/mman-linux.h b/bits/mman-linux.h
index dbb994b..29986d3 100644
--- a/bits/mman-linux.h
+++ b/bits/mman-linux.h
@@ -81,6 +81,7 @@
 # define MADV_SEQUENTIAL  2	/* Expect sequential page references.  */
 # define MADV_WILLNEED	  3	/* Will need these pages.  */
 # define MADV_DONTNEED	  4	/* Don't need these pages.  */
+# define MADV_FREE	  8	/* Free pages only if memory pressure.  */
 # define MADV_REMOVE	  9	/* Remove these pages and resources.  */
 # define MADV_DONTFORK	  10	/* Do not inherit across fork.  */
 # define MADV_DOFORK	  11	/* Do inherit across fork.  */
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 3b01f12..d75c07b 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -184,6 +184,7 @@ struct in_pktinfo
 #define IPV6_LEAVE_ANYCAST	28
 #define IPV6_IPSEC_POLICY	34
 #define IPV6_XFRM_POLICY	35
+#define IPV6_HDRINCL		36
 
 /* Advanced API (RFC3542) (1).  */
 #define IPV6_RECVPKTINFO	49
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index cbb3ab5..ff2db11 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -88,6 +88,7 @@
 # define MADV_SPACEAVAIL  5	/* Insure that resources are reserved */
 # define MADV_VPS_PURGE	  6	/* Purge pages from VM page cache */
 # define MADV_VPS_INHERIT 7	/* Inherit parents page size */
+# define MADV_FREE	  8	/* Free pages only if memory pressure.  */
 # define MADV_REMOVE	  9	/* Remove these pages and resources.  */
 # define MADV_DONTFORK	 10	/* Do not inherit across fork.  */
 # define MADV_DOFORK	 11	/* Do inherit across fork.  */
diff --git a/sysdeps/unix/sysv/linux/sys/epoll.h b/sysdeps/unix/sysv/linux/sys/epoll.h
index 72ec211..90adf60 100644
--- a/sysdeps/unix/sysv/linux/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/sys/epoll.h
@@ -61,6 +61,8 @@ enum EPOLL_EVENTS
 #define EPOLLHUP EPOLLHUP
     EPOLLRDHUP = 0x2000,
 #define EPOLLRDHUP EPOLLRDHUP
+    EPOLLEXCLUSIVE = 1u << 28,
+#define EPOLLEXCLUSIVE EPOLLEXCLUSIVE
     EPOLLWAKEUP = 1u << 29,
 #define EPOLLWAKEUP EPOLLWAKEUP
     EPOLLONESHOT = 1u << 30,

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

Summary of changes:
 ChangeLog                                |    9 +++++++++
 bits/mman-linux.h                        |    1 +
 sysdeps/unix/sysv/linux/bits/in.h        |    1 +
 sysdeps/unix/sysv/linux/hppa/bits/mman.h |    1 +
 sysdeps/unix/sysv/linux/sys/epoll.h      |    2 ++
 5 files changed, 14 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]