summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-14 20:21:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-14 20:21:24 -0500
commitaadf39c06a5573439f9a733d05946e723e77992b (patch)
tree781c6e61b3d8f882398245c761ce9a28999db873
parent0eefd733ef6b4f36b78c60de72827c9ab7c6c29a (diff)
downloadgcompat-aadf39c06a5573439f9a733d05946e723e77992b.tar.gz
gcompat-aadf39c06a5573439f9a733d05946e723e77992b.tar.bz2
gcompat-aadf39c06a5573439f9a733d05946e723e77992b.tar.xz
gcompat-aadf39c06a5573439f9a733d05946e723e77992b.zip
README: add docs about env vars
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
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.