]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: Add GCS test with signal handler
authorYury Khrustalev <yury.khrustalev@arm.com>
Thu, 23 Jan 2025 10:36:36 +0000 (10:36 +0000)
committerYury Khrustalev <yury.khrustalev@arm.com>
Fri, 21 Feb 2025 16:23:44 +0000 (16:23 +0000)
commit41f6684557255c8bdb7b5ec5bfe63c4e6c6cd5cf
tree63b47304a604ac4a0923170b5f03043f2bc57c0a
parent15afd01e80dc158c5095b16d458851b6d81b4e13
aarch64: Add GCS test with signal handler

Test that when we return from a function that enabled GCS at runtime
we get SIGSEGV. Also test that ucontext contains GCS block with the
GCS pointer.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/aarch64/Makefile
sysdeps/unix/sysv/linux/aarch64/tst-gcs-noreturn.c [new file with mode: 0644]