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-333-gce79740


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  ce79740bdbccea312df6cfcf70689efb57792fc9 (commit)
      from  a449fc68f652ee3b4b048f30701cec19c91e96e8 (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=ce79740bdbccea312df6cfcf70689efb57792fc9

commit ce79740bdbccea312df6cfcf70689efb57792fc9
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Fri May 19 01:42:01 2017 +0530

    Reduce value of LD_HWCAP_MASK for tst-env-setuid test case
    
    It was discovered that the dynamic linker allocates a massive amount
    of memory that increases with the value of LD_HWCAP_MASK.  Due to
    this, setting its value to 0xffffffff in the environment of
    tst-env-setuid would cause it to fail in some environments where
    overcommit was disabled or severely constrained because malloc would
    fail.
    
    Since this test is only concerned with the value of LD_HWCAP_MASK
    envvar being conserved (or not, for setxid binaries), lower its value
    to avoid spurious failures.
    
    The allocation bug is reported as #21502.

diff --git a/ChangeLog b/ChangeLog
index f0227d4..06ef578 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+	* elf/Makefile (tst-env-setuid-ENV): Reduce value of
+	LD_HWCAP_MASK.
+
 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
 
 	* manual/conf.texi: Convert @tables of annotated @items to
diff --git a/elf/Makefile b/elf/Makefile
index 2fd6bf7..201b328 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1407,6 +1407,6 @@ $(objpfx)tst-nodelete-dlclose.out: $(objpfx)tst-nodelete-dlclose-dso.so \
 				   $(objpfx)tst-nodelete-dlclose-plugin.so
 
 tst-env-setuid-ENV = MALLOC_CHECK_=2 MALLOC_MMAP_THRESHOLD_=4096 \
-		     LD_HWCAP_MASK=0xffffffff
+		     LD_HWCAP_MASK=0x1
 tst-env-setuid-tunables-ENV = \
 	GLIBC_TUNABLES=glibc.malloc.check=2:glibc.malloc.mmap_threshold=4096

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

Summary of changes:
 ChangeLog    |    5 +++++
 elf/Makefile |    2 +-
 2 files changed, 6 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]