[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

Serge E. Hallyn serue at us.ibm.com
Thu Apr 30 08:26:15 PDT 2009


Quoting Oren Laadan (orenl at cs.columbia.edu):
> Hmmm... IIUC from the text above then:
> 
> 	ptr = mmap(NULL, size, MMAP_EXEC | ... )
> 	memcpy(ptr, src, size);
> 	mremap(src, size, size, MREMAP_FIXED | ..., ptr);

What is src and size?

Hmm, I guess you can get that from /proc/self/maps.

Cool.

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list