about summary refs log tree commit diff
path: root/sysdeps/unix/pt-fcntl.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-11-20 15:27:06 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-11 14:52:13 +0000
commit72739c79f61989a76b7dd719f34fcfb7b8eadde9 (patch)
treeaa47d1ab54c8ddeb1332d83ff3473d2709384210 /sysdeps/unix/pt-fcntl.c
parent6f19927b98de091d83e668b60680be98909834e7 (diff)
downloadglibc-72739c79f61989a76b7dd719f34fcfb7b8eadde9.tar.gz
glibc-72739c79f61989a76b7dd719f34fcfb7b8eadde9.tar.xz
glibc-72739c79f61989a76b7dd719f34fcfb7b8eadde9.zip
aarch64: Fix missing BTI protection from dependencies [BZ #26926]
The _dl_open_check and _rtld_main_check hooks are not called on the
dependencies of a loaded module, so BTI protection was missed on
every module other than the main executable and directly dlopened
libraries.

The fix just iterates over dependencies to enable BTI.

Fixes bug 26926.
Diffstat (limited to 'sysdeps/unix/pt-fcntl.c')
0 files changed, 0 insertions, 0 deletions