diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2014-03-08 15:12:52 -0800 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2014-03-08 15:12:52 -0800 |
commit | 502932b7f56f11c3cdb68d7ba00e1d3f91431ed6 (patch) | |
tree | e52f15a448b7d3389804367d35b2346a3a14b50a /sysdeps | |
parent | 21c2ca10b15f8af6265e8d018ede671e9159cd72 (diff) | |
download | glibc-502932b7f56f11c3cdb68d7ba00e1d3f91431ed6.zip glibc-502932b7f56f11c3cdb68d7ba00e1d3f91431ed6.tar.gz glibc-502932b7f56f11c3cdb68d7ba00e1d3f91431ed6.tar.bz2 |
For b/4074041, add EXEC_ORIGIN support. Forward-ported from cl/56955623 and http://cl/59961863.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index a9c2b08..caa5f1d 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -544,6 +544,9 @@ struct rtld_global_ro /* Location of the binary. */ EXTERN const char *_dl_origin_path; + /* Directory where the AT_EXECFN is found. */ + EXTERN const char *_google_exec_origin_dir; + /* -1 if the dynamic linker should honor library load bias, 0 if not, -2 use the default (honor biases for normal binaries, don't honor for PIEs). */ |