criu/compel/include/uapi
Igor Svilenkov Bozic 6bb856b0af compel: gcs: initial GCS support for signal frames
Add basic prerequisites for Guarded Control Stack (GCS) state on AArch64.

This adds a gcs_context to the signal frame and extends user_fpregs_struct_t to
carry GCS metadata, preparing the groundwork for GCS in the parasite.

For now, the GCS fields are zeroed during compel_get_task_regs(), technically
ignoring GCS since it does not reach the control logic yet; that will be
introduced in the next commit.

The code path is gated and does not affect normal tests. Can be explicitly
enabled and tested via:

    make -C infect GCS_ENABLE=1 && make -C infect run

Signed-off-by: Igor Svilenkov Bozic <svilenkov@gmail.com>
[ alex: clean up fixes ]
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Acked-by: Mike Rapoport <rppt@kernel.org>
2025-12-07 19:20:00 +01:00
..
asm compel: make include/uapi/asm symlink permanent 2017-03-15 00:09:56 +03:00
common compel: uapi -- Add common symlink 2017-03-15 00:06:12 +03:00
compel compel: make include/uapi symlink permanent 2017-03-15 00:09:55 +03:00
cpu.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
handle-elf.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
infect-rpc.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
infect-util.h criu: use libuuid for criu_run_id generation 2025-03-21 12:40:31 -07:00
infect.h compel: gcs: initial GCS support for signal frames 2025-12-07 19:20:00 +01:00
ksigset.h ksigset: fix a typo in ksigdelset 2021-09-03 10:31:00 -07:00
log.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
loglevels.h clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
ptrace.h compel: fix build on Amazon Linux 2 due to missing PTRACE_ARCH_PRCTL 2024-09-11 16:02:11 -07:00
sigframe-common.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
task-state.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00