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-767-gfa680dc


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  fa680dc61455acdf8779d82c6f4bba5b48935c08 (commit)
      from  1ba1d8a44d244110c1f8d768f098ac44351acb76 (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=fa680dc61455acdf8779d82c6f4bba5b48935c08

commit fa680dc61455acdf8779d82c6f4bba5b48935c08
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 15 18:40:29 2017 +0000

    Add MADV_WIPEONFORK, MADV_KEEPONFORK from Linux 4.14.
    
    This patch adds the new MADV_WIPEONFORK and MADV_KEEPONFORK from Linux
    4.14 to bits/mman-linux.h (and bits/mman.h in the hppa case).  Note
    there are further hppa MADV_* changes in 4.14; I plan a separate glibc
    patch for those.
    
    Tested for x86_64.
    
    	* sysdeps/unix/sysv/linux/bits/mman-linux.h
    	[__USE_MISC] (MADV_WIPEONFORK): New macro.
    	[__USE_MISC] (MADV_KEEPONFORK): Likewise.
    	* sysdeps/unix/sysv/linux/hppa/bits/mman.h
    	[__USE_MISC] (MADV_WIPEONFORK): Likewise.
    	[__USE_MISC] (MADV_KEEPONFORK): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 88f3ac8..6ebdeed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-11-15  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/bits/mman-linux.h
+	[__USE_MISC] (MADV_WIPEONFORK): New macro.
+	[__USE_MISC] (MADV_KEEPONFORK): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/bits/mman.h
+	[__USE_MISC] (MADV_WIPEONFORK): Likewise.
+	[__USE_MISC] (MADV_KEEPONFORK): Likewise.
+
 2017-11-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* signal/sigrelse.c (sigrelse): Optimize implementation.
diff --git a/sysdeps/unix/sysv/linux/bits/mman-linux.h b/sysdeps/unix/sysv/linux/bits/mman-linux.h
index b091181..78c07c8 100644
--- a/sysdeps/unix/sysv/linux/bits/mman-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/mman-linux.h
@@ -89,6 +89,8 @@
 # define MADV_DONTDUMP	  16    /* Explicity exclude from the core dump,
                                    overrides the coredump filter bits.  */
 # define MADV_DODUMP	  17	/* Clear the MADV_DONTDUMP flag.  */
+# define MADV_WIPEONFORK  18	/* Zero memory on fork, child only.  */
+# define MADV_KEEPONFORK  19	/* Undo MADV_WIPEONFORK.  */
 # define MADV_HWPOISON	  100	/* Poison a page for testing.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index acf7002..4ad9153 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -99,6 +99,8 @@
 # define MADV_DONTDUMP	 69	/* Explicity exclude from the core dump,
 				   overrides the coredump filter bits */
 # define MADV_DODUMP	 70	/* Clear the MADV_NODUMP flag */
+# define MADV_WIPEONFORK 71	/* Zero memory on fork, child only.  */
+# define MADV_KEEPONFORK 72	/* Undo MADV_WIPEONFORK.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */

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

Summary of changes:
 ChangeLog                                 |    9 +++++++++
 sysdeps/unix/sysv/linux/bits/mman-linux.h |    2 ++
 sysdeps/unix/sysv/linux/hppa/bits/mman.h  |    2 ++
 3 files changed, 13 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]