diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-06-18 16:50:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-10-07 10:26:48 -0700 |
commit | 349b0441dab375099b1d7f6909c1742286a67da9 (patch) | |
tree | 398336e60fdfc9d0ea7b52b2b63d2c37b5996ac5 /elf/reldep7mod1.c | |
parent | 1bd888d0b705fa5ab7b443724288f7ba12939533 (diff) | |
download | glibc-349b0441dab375099b1d7f6909c1742286a67da9.tar.gz glibc-349b0441dab375099b1d7f6909c1742286a67da9.tar.xz glibc-349b0441dab375099b1d7f6909c1742286a67da9.zip |
Add run-time check for indirect external access
When performing symbol lookup for references in executable without indirect external access: 1. Disallow copy relocations in executable against protected data symbols in a shared object with indirect external access. 2. Disallow non-zero symbol values of undefined function symbols in executable, which are used as the function pointer, against protected function symbols in a shared object with indirect external access. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/reldep7mod1.c')
0 files changed, 0 insertions, 0 deletions