2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-05 08:45:49 +00:00

dump: Make VMA parsing to handle absence of map_files

Needed in testing purposes. Also make free_mappings
being a global one (will need it in restorer).

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-10-26 22:48:10 +04:00
parent 214b8a6a27
commit 2cc7488de2
4 changed files with 7 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ void printk_vma(struct vma_area *vma_area);
#define pr_info_siginfo(siginfo) printk_siginfo(siginfo)
int reopen_fd_as(int new_fd, int old_fd);
int parse_maps(pid_t pid, struct list_head *vma_list);
int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files);
int close_safe(int *fd);
void hex_dump(void *addr, unsigned long len);