criu/compel/include/uapi
Mike Rapoport (IBM) 0aba3dcfa1 compel: shstk: prepare shadow stack signal frame
When calling sigreturn with CET enabled, the kernel verifies that the
shadow stack has proper address of sa_restorer and a "restore token".
Normally, they pushed to the shadow stack when signal processing is
started.

Since compel calls sigreturn directly, the shadow stack should be
updated to match the kernel expectations for sigreturn invocation.

Add parasite_setup_shstk() that sets up the shadow stack with the
address of __export_parasite_head_start as sa_restorer and with the
required restore token.

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
2024-09-11 16:02:11 -07: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: generate unique socket names 2022-04-28 17:53:52 -07:00
infect.h compel: shstk: prepare shadow stack signal frame 2024-09-11 16:02:11 -07: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 cr-check: Add ptrace rseq conf dump feature 2022-04-28 17:53:52 -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