[CRIU] [PATCH cr 2/5] mntns: crtools: stat pathes relatively of a
mntns root
Andrey Vagin
avagin at openvz.org
Tue Jul 17 03:50:54 EDT 2012
If we dump tasks with mntns, we should look at pathes from point of a mntns root.
Now we support a situation when a root of an init task has the same root as the
mntns root, because we have not another way to get a root of mntns.
A path to an unix socket is copied, because the origin copy will be gone
out from the function, where it was created.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
cr-dump.c | 4 ++++
files-reg.c | 13 +++++++------
include/mount.h | 3 +++
mount.c | 35 +++++++++++++++++++++++++++++++++++
sk-unix.c | 7 +++++--
5 files changed, 54 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mntns-crtools-stat-pathes-relatively-of-a-mntns-root.patch
Type: text/x-patch
Size: 4504 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120717/8b23389d/0002-mntns-crtools-stat-pathes-relatively-of-a-mntns-root.bin
More information about the CRIU
mailing list