diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-02-24 16:29:32 +0000 |
---|---|---|
committer | Yury Khrustalev <yury.khrustalev@arm.com> | 2025-01-20 09:22:41 +0000 |
commit | 9885d13b669591574829125f13b1078bb12399fc (patch) | |
tree | 05d3264b76e753b982e494b913ac4527556d15e6 /sysdeps/unix/sysv/linux/creat64.c | |
parent | 1cf59c2603be88e3c97e68b1f219647f20310215 (diff) | |
download | glibc-9885d13b669591574829125f13b1078bb12399fc.zip glibc-9885d13b669591574829125f13b1078bb12399fc.tar.gz glibc-9885d13b669591574829125f13b1078bb12399fc.tar.bz2 |
aarch64: Add GCS support for setcontext
Userspace ucontext needs to store GCSPR, it does not have to be
compatible with the kernel ucontext. For now we use the linux
struct gcs_context layout but only use the gcspr field from it.
Similar implementation to the longjmp code, supports switching GCS
if the target GCS is capped, and unwinding a continuous GCS to a
previous state.
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/creat64.c')
0 files changed, 0 insertions, 0 deletions