mirror of git://sourceware.org/git/glibc.git
nptl/tst-setuid1-static: Improve isolation from system objects
Static dlopen needs an LD_LIBRARY_PATH setting to avoid loading system libraries.
This commit is contained in:
parent
d96cb37678
commit
def674652e
|
@ -714,6 +714,11 @@ tst-audit-threads-ENV = LD_AUDIT=$(objpfx)tst-audit-threads-mod1.so
|
||||||
|
|
||||||
CFLAGS-tst-unwind-thread.c += -funwind-tables
|
CFLAGS-tst-unwind-thread.c += -funwind-tables
|
||||||
|
|
||||||
|
# The test uses dlopen indirectly and would otherwise load system
|
||||||
|
# objects.
|
||||||
|
tst-setuid1-static-ENV = \
|
||||||
|
LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
|
||||||
|
|
||||||
# The tests here better do not run in parallel.
|
# The tests here better do not run in parallel.
|
||||||
ifeq ($(run-built-tests),yes)
|
ifeq ($(run-built-tests),yes)
|
||||||
ifneq ($(filter %tests,$(MAKECMDGOALS)),)
|
ifneq ($(filter %tests,$(MAKECMDGOALS)),)
|
||||||
|
|
Loading…
Reference in New Issue