mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
sockets: Save and restore fd flags for sockets
For regfiles this is done at open() time, for pipes thit is done with fcntl. Use the same fcntl approach for sockets. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -63,6 +63,7 @@ extern int prepare_shared_fdinfo(void);
|
||||
extern int get_filemap_fd(int pid, struct vma_entry *vma_entry);
|
||||
extern int prepare_fs(int pid);
|
||||
extern int open_reg_by_id(u32 id);
|
||||
int set_fd_flags(int fd, int flags);
|
||||
|
||||
extern int self_exe_fd;
|
||||
|
||||
|
Reference in New Issue
Block a user