]> sourceware.org Git - glibc.git/commit
aarch64: Fix missing BTI protection from dependencies [BZ #26926]
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 20 Nov 2020 15:27:06 +0000 (15:27 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 11 Dec 2020 14:52:13 +0000 (14:52 +0000)
commit72739c79f61989a76b7dd719f34fcfb7b8eadde9
treeaa47d1ab54c8ddeb1332d83ff3473d2709384210
parent6f19927b98de091d83e668b60680be98909834e7
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.
sysdeps/aarch64/dl-bti.c
This page took 0.044523 seconds and 5 git commands to generate.