[CRIU] [PATCH 2/3] fowners: Add checkpoint/restore

Cyrill Gorcunov gorcunov at openvz.org
Mon Apr 9 06:16:11 EDT 2012


Basically the idea is to dump file owner
structure in fdinfo_entry, if there some
data present -- we restore it.

For special files such as CWD and EXE, this
field will be simply zeroified.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c       |   33 +++++++++++++++++++++++++++++++++
 cr-show.c       |    9 +++++++++
 files.c         |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 include/files.h |    3 +++
 include/image.h |    9 +++++++++
 sockets.c       |   18 ++++++++++--------
 6 files changed, 110 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-fowners-Add-checkpoint-restore.patch
Type: text/x-patch
Size: 6695 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120409/359169f7/0002-fowners-Add-checkpoint-restore-0001.bin


More information about the CRIU mailing list