diff options
| author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-02-23 08:54:04 +0000 |
|---|---|---|
| committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-07-08 09:41:44 +0100 |
| commit | 606d7c2b096da857996f93ce731220580e54a9d2 (patch) | |
| tree | 1ed68e6712fe2cb77157cc280d66a5ef2ae27ee2 /malloc/alloc_buffer_alloc_array.c | |
| parent | 297eadaa5479e7ad9c7ff1d4cb620e9bcf751d6d (diff) | |
| download | glibc-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 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
