OSDN Git Service

ldd: take LD_LIBRARY_PATH into account
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 14 Oct 2011 10:04:58 +0000 (12:04 +0200)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 18 Oct 2011 09:23:55 +0000 (11:23 +0200)
commit1155493454bf1e013f5b086ba7529c1cd60fd242
treee816f75fb3a73931c7be105c73f54417d170d37e
parent36ea1d442b7507e4600256705cfd9bbe03c85e86
ldd: take LD_LIBRARY_PATH into account

Extend the environment variables adding the LD_LIBRARY_PATH
if actually passed when doing shared library tracings through
the ld.so trace capability.
This is possible only using the system dynamic linker in stand-alone
mode to avoid any vulnerability.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
utils/Makefile.in
utils/ldd.c