Ensure that ldscopedyn is not found as a musl executable after the loader string has been updated.
@@ -901,6 +901,7 @@ reportPeriodicStuff(void)
// empty the event queues
doEvent();
+
doPayload();
mtcFlush(g_mtc);
@@ -1214,7 +1215,7 @@ initHook(int attachedFlag)
return;
}
- if (ebuf && ebuf->buf) {
+ if (ebuf && ebuf->buf && (strstr(full_path, "ldscope") == NULL)) {
g_ismusl = is_musl(ebuf->buf);
}
