aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/common/lxstat.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-04-15 17:40:45 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-07-08 13:04:04 +0100
commit0119a5f4785e77d21df99968a751b1bb65af9a9b (patch)
tree95d07bd286814d5edade54ff3cb600c53830622e /sysdeps/unix/common/lxstat.c
parenta8601c3f0da98f7179288be1a9a2950aad5b2f5f (diff)
downloadglibc-0119a5f4785e77d21df99968a751b1bb65af9a9b.tar
glibc-0119a5f4785e77d21df99968a751b1bb65af9a9b.tar.gz
glibc-0119a5f4785e77d21df99968a751b1bb65af9a9b.tar.bz2
glibc-0119a5f4785e77d21df99968a751b1bb65af9a9b.zip
aarch64: redefine RETURN_ADDRESS to strip PAC
RETURN_ADDRESS is used at several places in glibc to mean a valid code address of the call site, but with pac-ret it may contain a pointer authentication code (PAC), so its definition is adjusted. This is gcc PR target/94891: __builtin_return_address should not expose signed pointers to user code where it can cause ABI issues. In glibc RETURN_ADDRESS is only changed if it is built with pac-ret. There is no detection for the specific gcc issue because it is hard to test and the additional xpac does not cause problems. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/common/lxstat.c')
0 files changed, 0 insertions, 0 deletions