diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-02-23 08:54:04 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-02-02 15:58:10 +0000 |
commit | c3274a8582b4915efea5a16558e730d362bea177 (patch) | |
tree | 64a32b55342c1611b5bcf144098e9ce94b89ceee /sysdeps/unix/sysv/linux/aarch64/vfork.S | |
parent | e6bc31c117194bfadcf10a6c90b6586800a33a11 (diff) | |
download | glibc-c3274a8582b4915efea5a16558e730d362bea177.tar.gz glibc-c3274a8582b4915efea5a16558e730d362bea177.tar.xz glibc-c3274a8582b4915efea5a16558e730d362bea177.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 'sysdeps/unix/sysv/linux/aarch64/vfork.S')
0 files changed, 0 insertions, 0 deletions