Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criu: collect BPF map files for restoration
This commit helps CRIU recognize, collect and set-up the information for BPF map files during the restoration phase. CRIU can now successfully dump information obtained about BPF map files from procfs and restore these maps with the same parameters. Source files modified: * files.c - function collect_one_file() now recognizes file descriptors for BPF map files (type FD_TYPES__BPFMAP) and sets up the appropriate handlers * cr-restore.c - added 'bpfmap_cinfo' to array 'cinfos_files', so that a call to function collect_images() would now also collect BPF map files Signed-off-by: Abhishek Vijeev <[email protected]>
- Loading branch information