criu/compel/test
Igor Svilenkov Bozic 92e6e523b5 compel: gcs: add opt-in GCS test support for AArch64
Introduce an opt-in mode for building and running compel tests
with Guarded Control Stack (GCS) enabled on AArch64.

Changes:
 - Extend compel/test/infect to support `GCS_ENABLE=1` builds,
   adding `-mbranch-protection=standard` and
   `-z experimental-gcs=check` to CFLAGS/LDFLAGS.
 - Export required GLIBC_TUNABLES at runtime via `TEST_ENV`.

Usage:
    make -C compel/test/infect GCS_ENABLE=1
    make -C compel/test/infect GCS_ENABLE=1 run

By default (`GCS_ENABLE` unset or 0), builds and runs are unchanged.

Signed-off-by: Igor Svilenkov Bozic <svilenkov@gmail.com>
2025-12-07 19:20:00 +01:00
..
fdspy compel/test: Return 0 in case of error in fdspy 2023-10-22 13:29:25 -07:00
infect compel: gcs: add opt-in GCS test support for AArch64 2025-12-07 19:20:00 +01:00
rsys Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
stack compel: fix the stack test 2025-11-02 07:42:55 -08:00
Makefile compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00