Skip to content
Snippets Groups Projects
Commit 226404d1 authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Disable capsule-loop protection for the dev-bin tools

We only care about loop protection in an actual capsule, not in
the helper tools which extract DSO names and symbols for us.
parent a7475d20
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -995,7 +995,18 @@ stat_caller (void)
{
DEBUG( DEBUG_SEARCH|DEBUG_ELF,
"initial libcapsule user is %s", caller );
stat( caller, &cdso );
if( soname_matches_path( "libc.so", caller ) )
{
// if we get back to here we're looking at a normal
// library from one of the build helper tools and
// we don't care about loop protection:
DEBUG( DEBUG_SEARCH|DEBUG_ELF,
" … which is not a capsule: disabling loop protection" );
}
else
{
stat( caller, &cdso );
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment