about summary refs log tree commit diff
path: root/elf/tst-audit12mod1.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-06-18 16:50:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-10-07 10:26:48 -0700
commit349b0441dab375099b1d7f6909c1742286a67da9 (patch)
tree398336e60fdfc9d0ea7b52b2b63d2c37b5996ac5 /elf/tst-audit12mod1.c
parent1bd888d0b705fa5ab7b443724288f7ba12939533 (diff)
downloadglibc-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/tst-audit12mod1.c')
0 files changed, 0 insertions, 0 deletions