aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-05-13 18:28:18 -0400
committerMike Frysinger <vapier@gentoo.org>2016-05-13 18:28:18 -0400
commitae82ef5e27c8935a8f503e991710597254b86647 (patch)
tree56ee327e0b31017c49cca6ba01c859d1f515b19c
parentsecurity: whitelist readlinkat (diff)
downloadpax-utils-ae82ef5e27c8935a8f503e991710597254b86647.tar.gz
pax-utils-ae82ef5e27c8935a8f503e991710597254b86647.tar.bz2
pax-utils-ae82ef5e27c8935a8f503e991710597254b86647.zip
lddtree: always inhibit the cache
Make sure that the wrapped binaries don't use the host's ld.so.cache. This probably shouldn't show up since we're using --library-path, but in case that doesn't stop things, explicitly disable the search.
-rwxr-xr-xlddtree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lddtree.py b/lddtree.py
index e663d32..3971a9a 100755
--- a/lddtree.py
+++ b/lddtree.py
@@ -162,6 +162,7 @@ basedir=${base%%/*}
exec \
"${basedir}/%(interp)s" \
--library-path "%(libpaths)s" \
+ --inhibit-cache \
--inhibit-rpath '' \
"${base}.elf" \
"$@"