[CRIU] [PATCH cr 11/11] restore: mount proc for a new pid namespace

Andrey Vagin avagin at openvz.org
Mon Jun 4 07:55:19 EDT 2012


Create a tmp directory and mount proc from a target pid ns.
This proc will show pid-s from the target pid ns.

crtools uses map_files for restoring sharing mappings.

the tmp directory is removed after restore.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c |   46 +++++++++++++++++++++++++++++++++++++---------
 1 files changed, 37 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-restore-mount-proc-for-a-new-pid-namespace.patch
Type: text/x-patch
Size: 2558 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120604/1bd8cc8f/0011-restore-mount-proc-for-a-new-pid-namespace.bin


More information about the CRIU mailing list