mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
PAC stands for Pointer Authentication Code. Each process has 5 PAC keys and a mask of enabled keys. All this properties have to be C/R-ed. As they are per-process protperties, we can save/restore them just for one thread. Signed-off-by: Andrei Vagin <avagin@google.com>
16 lines
413 B
C
16 lines
413 B
C
#ifndef __CR_ASM_DUMP_H__
|
|
#define __CR_ASM_DUMP_H__
|
|
|
|
extern int save_task_regs(pid_t pid, void *, user_regs_struct_t *, user_fpregs_struct_t *);
|
|
extern int arch_alloc_thread_info(CoreEntry *core);
|
|
extern void arch_free_thread_info(CoreEntry *core);
|
|
|
|
static inline void core_put_tls(CoreEntry *core, tls_t tls)
|
|
{
|
|
core->ti_loongarch64->tls = tls;
|
|
}
|
|
|
|
#define get_task_futex_robust_list_compat(pid, info) -1
|
|
|
|
#endif
|