about summary refs log tree commit diff
path: root/benchtests/sprintf-inputs
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-19 01:42:01 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-19 01:42:01 +0530
commitce79740bdbccea312df6cfcf70689efb57792fc9 (patch)
tree851d717cf9c6197c5677041a6d65e2efc31bf15a /benchtests/sprintf-inputs
parenta449fc68f652ee3b4b048f30701cec19c91e96e8 (diff)
downloadglibc-ce79740bdbccea312df6cfcf70689efb57792fc9.tar.gz
glibc-ce79740bdbccea312df6cfcf70689efb57792fc9.tar.xz
glibc-ce79740bdbccea312df6cfcf70689efb57792fc9.zip
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.
Diffstat (limited to 'benchtests/sprintf-inputs')
0 files changed, 0 insertions, 0 deletions