Quoting Oren Laadan ([email protected]):
> 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
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to