criu/compel/arch
Mike Rapoport (IBM) cb39c62f8a restorer: shstk: implement shadow stack restore
The restore of a task with shadow stack enabled adds these steps:

* switch from the default shadow stack to a temporary shadow stack
  allocated in the premmaped area
* unmap CRIU mappings; nothing changed here, but it's important that
  CRIU mappings can be removed only after switching to a temporary
  shadow stack
* create shadow stack VMA with map_shadow_stack()
* restore shadow stack contents with wrss
* switch to "real" shadow stack
* lock shadow stack features

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
2024-02-19 18:59:19 -08:00
..
aarch64 compel: always pass user_fpregs_struct_t to compel_get_task_regs() 2024-02-19 18:32:49 -08:00
arm compel: always pass user_fpregs_struct_t to compel_get_task_regs() 2024-02-19 18:32:49 -08:00
loongarch64 loongarch64: fix syscall_64.tbl 2023-08-24 13:52:21 -07:00
mips compel: always pass user_fpregs_struct_t to compel_get_task_regs() 2024-02-19 18:32:49 -08:00
ppc64 compel: always pass user_fpregs_struct_t to compel_get_task_regs() 2024-02-19 18:32:49 -08:00
s390 compel: always pass user_fpregs_struct_t to compel_get_task_regs() 2024-02-19 18:32:49 -08:00
x86 restorer: shstk: implement shadow stack restore 2024-02-19 18:59:19 -08:00