return false;
}
-/* TODO Remove hardcoded ignored bins, make it flexible */
static inline bool _is_ignored(const char *path)
{
- const char linux_gate[] = "linux-gate.so.1";
+ const char linux_gate[] = "linux-gate.so";
const char linker[] = LINKER_PATH;
if (!strcmp(probelib_main, path) ||
!strcmp(probelib_screenshot, path) ||
!strcmp(probelib_uihv, path) ||
!strcmp(probelib_lsan, path) ||
- !strcmp(linux_gate, path) ||
- !strcmp(linker, path))
+ !strcmp(linker, path) ||
+ /* linux-gate can have different postfix, so check only root */
+ !strncmp(linux_gate, path, sizeof(linux_gate) - 1))
return true;
return false;