[CRIU] Re: [PATCH cr 5/7] mm: rework of dumping shared memory

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 19 12:51:12 EDT 2012


On Mon, Mar 19, 2012 at 06:50:01PM +0300, Andrey Vagin wrote:
...
> +static int cr_dump_shmem(int pid)
> +{
...
> +
> +		fd = open_image(CR_FD_SHMEM_PAGES, O_WRONLY | O_CREAT, si->shmid);
> +		if (fd < 0) {
			munmap(addr,  si->size) missed
> +			goto err;
		}

	Cyrill


More information about the CRIU mailing list