From aadf39c06a5573439f9a733d05946e723e77992b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 14 Jun 2017 20:21:24 -0500 Subject: README: add docs about env vars --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4a5f188..2610de3 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,10 @@ If the interpreter path is different than expected, use PatchELF or install a sy Just add libgcompat.so to the DT_NEEDED entries in the ELF that you want to have the gcompat symbols available in. Use a tool such as PatchELF for this. + + +## special environment variables + +* `GLIBC_FAKE_VERSION` will override the result of `gnu_get_libc_version`, which currently defaults to "2.8". +* `GLIBC_FAKE_DEBUG` will cause dlmopen and dlvsym to display the overrides they are performing, and may cause + additional output to stderr with other functions in the future. -- cgit v1.2.3-60-g2f50