[CRIU] [PATCH 2/4] parasite: Enlighten parasite blob injection

Pavel Emelyanov xemul at parallels.com
Sun Feb 12 05:50:34 EST 2012


I don't like that we poke the parasite into remote space with 4k calls
to ptrace. Now we have the /proc/pid/map_files/ dir which helps us sharing
a mapping with some other process.

Use this -- map the remote area for parasite locally and put the parasite
blob into it with simple memcpy.

Signed-off-by: Pavel Emelyanov <xemul at parallels.com>

---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-enlighten-parasite-blob-injection.patch
Type: text/x-patch
Size: 5540 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120212/0c88265a/0002-enlighten-parasite-blob-injection-0001.bin


More information about the CRIU mailing list