2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

checkpoint: IPv4 listening sockets dumping support

This commit is contained in:
Stanislav Kinsbursky
2012-01-17 21:30:00 +04:00
committed by Cyrill Gorcunov
parent 654216c1df
commit f3253a40d2
5 changed files with 307 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ enum {
CR_FD_SHMEM,
CR_FD_SIGACT,
CR_FD_UNIXSK,
CR_FD_INETSK,
CR_FD_MAX
};
@@ -60,6 +61,7 @@ extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
#define FMT_FNAME_VMAS "vmas-%d.img"
#define FMT_FNAME_SIGACTS "sigacts-%d.img"
#define FMT_FNAME_UNIXSK "unixsk-%d.img"
#define FMT_FNAME_INETSK "inetsk-%d.img"
extern int get_image_path(char *path, int size, const char *fmt, int pid);