From b711bfe5480bf55ae0cb18e03defc1e2a405e1b6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 2 Feb 2021 09:31:56 -0800 Subject: [PATCH] tst-rtld-list-tunables.sh: Unset glibc tunables Unset glibc tunables and their aliases for --list-tunables test. --- elf/tst-rtld-list-tunables.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/elf/tst-rtld-list-tunables.sh b/elf/tst-rtld-list-tunables.sh index e7bbdde949..78f4ed2ebb 100755 --- 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 \ -- 2.29.2