[CRIU] [PATCH 11/14] proc: Add parse_mountinfo helper

Cyrill Gorcunov gorcunov at openvz.org
Sun Apr 29 09:14:39 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: 0011-proc-Add-parse_mountinfo-helper.patch
Type: text/x-patch
Size: 2047 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120429/afc52e1d/0011-proc-Add-parse_mountinfo-helper-0001.bin


More information about the CRIU mailing list