criu/compel/test
Igor Svilenkov Bozic 264447c195
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>
2026-07-21 13:40:17 +02:00
..
fdspy compel: avoid rseq critical sections when executing parasite code 2026-07-20 11:23:01 +02:00
infect compel: gcs: add opt-in GCS test support for AArch64 2026-07-21 13:40:17 +02:00
rsys compel: avoid rseq critical sections when executing parasite code 2026-07-20 11:23:01 +02:00
stack compel: avoid rseq critical sections when executing parasite code 2026-07-20 11:23:01 +02:00
Makefile compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00