aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tcsendbrk.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-02-23 08:54:04 +0000
committerYury Khrustalev <yury.khrustalev@arm.com>2025-01-20 09:22:41 +0000
commit5ff5e7836e97a2d87778936b29c9607c120251be (patch)
tree1f7c452d4706f49efdd14c6e07d0659c70b874d5 /sysdeps/unix/sysv/linux/tcsendbrk.c
parent13cbbb0cb29153bab099e040002e7cc78a0ceaaa (diff)
downloadglibc-5ff5e7836e97a2d87778936b29c9607c120251be.zip
glibc-5ff5e7836e97a2d87778936b29c9607c120251be.tar.gz
glibc-5ff5e7836e97a2d87778936b29c9607c120251be.tar.bz2
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 'sysdeps/unix/sysv/linux/tcsendbrk.c')
0 files changed, 0 insertions, 0 deletions