[CRIU] [PATCH 12/17] proc_parse: Add parsing of fanotify entries

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 10 16:34:08 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: 0012-proc_parse-Add-parsing-of-fanotify-entries.patch
Type: text/x-patch
Size: 5489 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121211/7e10c3a3/attachment-0001.bin>


More information about the CRIU mailing list