]> git.feebdaed.xyz Git - 0xmirror/glibc.git/commit
aarch64: Support enforcing BTI on dependencies
authorYury Khrustalev <yury.khrustalev@arm.com>
Wed, 29 Oct 2025 16:12:14 +0000 (16:12 +0000)
committerYury Khrustalev <yury.khrustalev@arm.com>
Thu, 4 Dec 2025 12:44:42 +0000 (12:44 +0000)
commitdba95d2887890784abd439667a259a4aa9787055
treeeb0ef83218352109bc63e5c3c1c5fce5fea1a581
parent59bac0d5d2165cb5a160640ac2d0c0c562804bbd
aarch64: Support enforcing BTI on dependencies

Add glibc.cpu.aarch64_bti tunable with 2 values:

 - permissive (default)
 - enforced

and use this tunable to enforce BTI marking on dependencies
when the enforced option is selected.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
manual/tunables.texi
sysdeps/aarch64/cpu-features.h
sysdeps/aarch64/dl-bti.c
sysdeps/aarch64/dl-tunables.list
sysdeps/aarch64/linkmap.h
sysdeps/unix/sysv/linux/aarch64/cpu-features.c
sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c