mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
fowners: Restore for regular files and pipes
The base idea is trivial, once file descriptor created the owner is read and set up. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
44492851e1
commit
318535db97
@@ -55,6 +55,7 @@ extern void file_desc_add(struct file_desc *d, int type, u32 id,
|
||||
extern struct fdinfo_list_entry *file_master(struct file_desc *d);
|
||||
extern struct file_desc *find_file_desc_raw(int type, u32 id);
|
||||
extern int send_fd_to_peer(int fd, struct fdinfo_list_entry *, int transport);
|
||||
extern int restore_fown(int fd, fown_t *fown);
|
||||
|
||||
void show_saved_files(void);
|
||||
extern int collect_reg_files(void);
|
||||
|
Reference in New Issue
Block a user