commit | 8de23b38d01176b71345861e51063957995966e0 | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@google.com> | Mon May 02 15:52:39 2016 -0400 |
committer | Stephen McGruer <smcgruer@google.com> | Mon May 02 15:52:39 2016 -0400 |
tree | ce9fbb79636e6817819a0e92a354362724c50f7e | |
parent | 2588c3e03a19ac2ee8d4e96bc90eac107be73346 [diff] |
Disable LDSO_SAFE_RUNPATH (b/28440753) This is a workaround to the fact that uClibc-ng 1.0.12 (arguably) does not treat RPATHs correctly. It does not expand $ORIGIN in a parent executable's RPATH when doing a dlopen() inside a shared library. The previous uClibc (0.9.33) also did not do this, but it did allow relative paths for LD_LIBRARY_PATH which was sufficient for the use-case Fiber has. That behavior is now hidden behind !LDSO_SAFE_RUNPATH, thus this patch. Note that LDSO_SAFE_RUNPATH, despite the name, has no known security implications - it only protects you against accidental double-loading of libraries via different relative paths. Change-Id: I69fbe244f9b9ce5886019a6e1c926c46a6b01654