]> sourceware.org Git - systemtap.git/commit
Delay adding sysroot path to module name in case of non absolute executable
authorVictor Kamensky <kamensky@cisco.com>
Mon, 19 Mar 2018 13:53:51 +0000 (08:53 -0500)
committerDavid Smith <dsmith@redhat.com>
Mon, 19 Mar 2018 13:53:51 +0000 (08:53 -0500)
commit4ffecddf5433d65a6f01241990c9d516586b1c79
tree8b2ac00885cac4929c84cb9762268ee4f75c1802
parentc2585f2b58cd69e6b7bbcf7e390e04ef008c9638
Delay adding sysroot path to module name in case of non absolute executable

Current stap code adds sysroot prematurely for probes that specify non
absolute path name, i.e like "foo", so when find_executable called it
receives full path as <sysroot>/foo and find_executable does not search
PATH while applying sysroot.

Fix delays adding sysroot till path inside of sysroot is searched first.

Also fix missing sysroot addition in glob expansion case.
tapsets.cxx
This page took 0.026807 seconds and 5 git commands to generate.