about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-03-16 12:37:54 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-04-14 10:58:03 +0530
commit5661d967a539e3b87fe3839601e5eaa3a50230cd (patch)
tree2dca386a0ef764be49d9358b1eab34e99d965a45 /elf/Makefile
parent83d111ee1f41804644f343e8c00dfb9ecd736567 (diff)
downloadglibc-5661d967a539e3b87fe3839601e5eaa3a50230cd.tar.gz
glibc-5661d967a539e3b87fe3839601e5eaa3a50230cd.tar.xz
glibc-5661d967a539e3b87fe3839601e5eaa3a50230cd.zip
Enhance setuid-tunables test
Instead of passing GLIBC_TUNABLES via the environment, pass the
environment variable from parent to child.  This allows us to test
multiple variables to ensure better coverage.

The test list currently only includes the case that's already being
tested.  More tests will be added later.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>

(cherry picked from commit 061fe3f8add46a89b7453e87eabb9c4695005ced)
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 63416b2ffe..b0d0f60edb 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1514,8 +1514,6 @@ $(objpfx)tst-nodelete-dlclose.out: $(objpfx)tst-nodelete-dlclose-dso.so \
 
 tst-env-setuid-ENV = MALLOC_CHECK_=2 MALLOC_MMAP_THRESHOLD_=4096 \
 		     LD_HWCAP_MASK=0x1
-tst-env-setuid-tunables-ENV = \
-	GLIBC_TUNABLES=glibc.malloc.check=2:glibc.malloc.mmap_threshold=4096
 
 $(objpfx)tst-debug1: $(libdl)
 $(objpfx)tst-debug1.out: $(objpfx)tst-debug1mod1.so