[CRIU] [PATCH 10/13] proc_parse: Add parsing of fanotify entries

Cyrill Gorcunov gorcunov at openvz.org
Thu Dec 6 12:03:37 EST 2012


Since fanotify entries do need more than one @id
passed across the calls we define struct fsnotify_params
which will hold @id and flags needed for fanotify entries.

Other than that -- we incorporate fanotify/inotify in one
parsing if() statement since they look similar in format
scanned from procfs.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 fsnotify.c         | 10 ++++--
 include/fsnotify.h |  6 ++++
 proc_parse.c       | 96 +++++++++++++++++++++++++++++++++++++++++++-----------
 3 files changed, 91 insertions(+), 21 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-proc_parse-Add-parsing-of-fanotify-entries.patch
Type: text/x-patch
Size: 5439 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121206/713e0927/attachment-0001.bin>


More information about the CRIU mailing list