Enhance setuid-tunables test
commit061fe3f8add46a89b7453e87eabb9c4695005ced
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 16 Mar 2021 07:07:54 +0000 (16 12:37 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 12 Apr 2021 13:33:19 +0000 (12 19:03 +0530)
tree5d4e18ff77b88a0a6a0e3263201f8d70d78deb0f
parentca335281068a1ed549a75ee64f90a8310755956f
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>
elf/Makefile
elf/tst-env-setuid-tunables.c