Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#1973: musl: Support late injection (#7254)
Musl supplies no argument to constructors in .init section, thus it's hard to retrieve environment variables without libc functions. Let's depend on "environ" variable for now, which is relatively fine in libdrpreload.so. This fixes tests requiring late injection on musl, including common.fib, common.nativeexec and common.nativeexec_{exe,bindnow}*. Issue: #1973
- Loading branch information