diff options
| author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-02-23 08:54:04 +0000 |
|---|---|---|
| committer | Yury Khrustalev <yury.khrustalev@arm.com> | 2025-01-20 09:22:41 +0000 |
| commit | 5ff5e7836e97a2d87778936b29c9607c120251be (patch) | |
| tree | 1f7c452d4706f49efdd14c6e07d0659c70b874d5 /malloc/dynarray_finalize.c | |
| parent | 13cbbb0cb29153bab099e040002e7cc78a0ceaaa (diff) | |
| download | glibc-5ff5e7836e97a2d87778936b29c9607c120251be.tar.xz glibc-5ff5e7836e97a2d87778936b29c9607c120251be.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.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'malloc/dynarray_finalize.c')
0 files changed, 0 insertions, 0 deletions
