mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
files: add some function in files.h
They will be used to restore pipes Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
f9ead29776
commit
216233d104
@@ -39,6 +39,13 @@ struct fdinfo_list_entry {
|
||||
futex_t real_pid;
|
||||
};
|
||||
|
||||
extern void transport_name_gen(struct sockaddr_un *addr,
|
||||
int *len, int pid, long fd);
|
||||
static inline struct fdinfo_list_entry *file_master(struct list_head *fd_list)
|
||||
{
|
||||
return list_first_entry(fd_list, struct fdinfo_list_entry, list);
|
||||
}
|
||||
|
||||
void show_saved_files(void);
|
||||
extern int collect_reg_files(void);
|
||||
extern int prepare_fds(int pid);
|
||||
|
Reference in New Issue
Block a user