mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
compel_relocs_apply() was taking arguments mostly from the struct parasite_blob_desc. Instead of passing all the arguments, we pass a pointer to the struct itself. This makes the code safer, as cr-restore.c calls compel_relocs_apply(). It previously needed to poke into what can be considered private variables of the restorer-pie.h file. To allow the parasite_blob_desc struct to be populated without a parasite_ctl struct, we expand the compel API to export a parasite_setup_c_header_desc() in the generated pie.h. Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com> |
||
|---|---|---|
| .. | ||
| asm | ||
| common | ||
| compel | ||
| cpu.h | ||
| handle-elf.h | ||
| infect-rpc.h | ||
| infect-util.h | ||
| infect.h | ||
| ksigset.h | ||
| log.h | ||
| loglevels.h | ||
| plugins | ||
| plugins.h | ||
| ptrace.h | ||
| sigframe-common.h | ||
| task-state.h | ||