[CRIU] [PATCH 3/8] proc: Add parse_mountinfo helper

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 12 11:50:37 EDT 2012


To restore inotify we need to know the
mount point device numbers, so this helper
parses /proc/pid/mountinfo file for that.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/proc_parse.h |    8 ++++++++
 include/util.h       |    1 +
 proc_parse.c         |   43 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-proc-Add-parse_mountinfo-helper.patch
Type: text/x-patch
Size: 2047 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120412/7528ffa6/0003-proc-Add-parse_mountinfo-helper.bin


More information about the CRIU mailing list