mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
rst: Factor out vma fd fixup
Just make the fixup_vma_fds read and write vma images and those called by it provide and fd for this. Acked-by: Andrey Vagin <avagin@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -40,6 +40,6 @@ struct fdinfo_list_entry {
|
||||
extern int prepare_fds(int pid);
|
||||
extern int prepare_fd_pid(int pid);
|
||||
extern int prepare_shared_fdinfo(void);
|
||||
extern int try_fixup_file_map(int pid, struct vma_entry *vma_entry, int fd);
|
||||
extern int get_filemap_fd(int pid, struct vma_entry *vma_entry);
|
||||
|
||||
#endif /* FILES_H_ */
|
||||
|
Reference in New Issue
Block a user