aboutsummaryrefslogtreecommitdiff
path: root/scripts/check-execstack.awk
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-02-23 08:54:04 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2024-07-08 09:41:44 +0100
commit606d7c2b096da857996f93ce731220580e54a9d2 (patch)
tree1ed68e6712fe2cb77157cc280d66a5ef2ae27ee2 /scripts/check-execstack.awk
parent297eadaa5479e7ad9c7ff1d4cb620e9bcf751d6d (diff)
downloadglibc-606d7c2b096da857996f93ce731220580e54a9d2.tar.xz
glibc-606d7c2b096da857996f93ce731220580e54a9d2.zip
aarch64: Add GCS support to longjmp
This implementations ensures that longjmp across different stacks works: it scans for GCS cap token and switches GCS if necessary then the target GCSPR is restored with a GCSPOPM loop once the current GCSPR is on the same GCS. This makes longjmp linear time in the number of jumped over stack frames when GCS is enabled.
Diffstat (limited to 'scripts/check-execstack.awk')
0 files changed, 0 insertions, 0 deletions