mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
tst-setuid1-static-ENV: Add $(common-objpfx)nss [BZ #26820]
commit def674652e
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Apr 27 15:00:14 2020 +0200
nptl/tst-setuid1-static: Improve isolation from system objects
Static dlopen needs an LD_LIBRARY_PATH setting to avoid loading system
libraries.
missed $(common-objpfx)nss. Add $(common-objpfx)nss to LD_LIBRARY_PATH
for tst-setuid1-static to support
struct passwd *pwd = getpwnam ("nobody");
in nptl/tst-setuid1.c.
This commit is contained in:
parent
e156dabc76
commit
fbb71eddb3
@ -614,7 +614,7 @@ tst-audit-threads-ENV = LD_AUDIT=$(objpfx)tst-audit-threads-mod1.so
|
||||
# The test uses dlopen indirectly and would otherwise load system
|
||||
# objects.
|
||||
tst-setuid1-static-ENV = \
|
||||
LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
|
||||
LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf:$(common-objpfx)nss
|
||||
|
||||
# The tests here better do not run in parallel.
|
||||
ifeq ($(run-built-tests),yes)
|
||||
|
Loading…
Reference in New Issue
Block a user