[CRIU] Re: [PATCH] IPC: collect and dump tunables sequentially

Pavel Emelyanov xemul at parallels.com
Tue Feb 7 11:15:35 EST 2012


> @@ -79,7 +79,7 @@ extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
>  #define FMT_FNAME_ITIMERS	"itimers-%d.img"
>  #define FMT_FNAME_CREDS		"creds-%d.img"
>  #define FMT_FNAME_UTSNS		"utsns-%d.img"
> -#define FMT_FNAME_IPCNS		"ipcns-%d.img"
> +#define FMT_FNAME_IPCNS_TUN	"ipcns-tun-%d.img"

If we're going to expose this outside the name "tun" will be misleading.

>  
>  extern int get_image_path(char *path, int size, const char *fmt, int pid);
>  


More information about the CRIU mailing list