projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9132010
)
tst-rtld-list-tunables.sh: Unset glibc tunables
author
H.J. Lu
<hjl.tools@gmail.com>
Tue, 2 Feb 2021 17:31:56 +0000
(09:31 -0800)
committer
H.J. Lu
<hjl.tools@gmail.com>
Tue, 2 Feb 2021 18:12:47 +0000
(10:12 -0800)
Unset glibc tunables and their aliases for --list-tunables test.
elf/tst-rtld-list-tunables.sh
patch
|
blob
|
history
diff --git
a/elf/tst-rtld-list-tunables.sh
b/elf/tst-rtld-list-tunables.sh
index e7bbdde94952b8720eb91a16a564915fc085c256..78f4ed2ebbd3db2cae9e618adc1c2e92d41851ea 100755
(executable)
--- a/
elf/tst-rtld-list-tunables.sh
+++ b/
elf/tst-rtld-list-tunables.sh
@@
-26,6
+26,17
@@
run_program_env=$3
LC_ALL=C
export LC_ALL
+# Unset tunables and their aliases.
+GLIBC_TUNABLES=
+MALLOC_ARENA_MAX=
+MALLOC_ARENA_TEST=
+MALLOC_CHECK_=
+MALLOC_MMAP_MAX_=
+MALLOC_MMAP_THRESHOLD_=
+MALLOC_PERTURB_=
+MALLOC_TOP_PAD_=
+MALLOC_TRIM_THRESHOLD_=
+
${test_wrapper_env} \
${run_program_env} \
$rtld --list-tunables \