]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix fork/exec stuff so it works again. We have to mangle LD_LIBRARY_PATH
authorJulian Seward <jseward@acm.org>
Sat, 18 May 2002 13:14:17 +0000 (13:14 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 18 May 2002 13:14:17 +0000 (13:14 +0000)
commit96b04d4f30b8f1d6103deb9569f540dbfc75dfbd
tree8e47fab37345180728f6a6936181bedb57192851
parentbeefe2fffda03e6c9536940e6f49845224f970aa
Fix fork/exec stuff so it works again.  We have to mangle LD_LIBRARY_PATH
as well as LD_PRELOAD, so as to make our libpthread.so go out of scope
when a child which we don't want to trace, is exec'd.  Otherwise the
child can wind up being connected to our libpthread.so but not to
valgrind.so, which is an unworkable combination; you have to be connected
to both or neither.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@291
16 files changed:
Makefile.am
addrcheck/Makefile.am
cachegrind/Makefile.am
corecheck/Makefile.am
coregrind/Makefile.am
coregrind/valgrind.in
coregrind/vg_include.h
coregrind/vg_main.c
helgrind/Makefile.am
lackey/Makefile.am
memcheck/Makefile.am
none/Makefile.am
valgrind.in
vg_include.h
vg_main.c
vg_syscall_mem.c