[CRIU] [PATCH 2/4] proc: Add parse_mountinfo helper

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 11 12:11:47 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: 0002-proc-Add-parse_mountinfo-helper.patch
Type: text/x-patch
Size: 2047 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120411/ad8cf05d/0002-proc-Add-parse_mountinfo-helper.bin


More information about the CRIU mailing list