[CRIU] [PATCH 09/13] fsnotify: Add restore for fanotify

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


To achieve this we did the following

 - add try_open_handle helper, which openins file
   handle if no remap found

 - depending on the which kind of notification found
   in image open_fsnotify_fd choose appropriate code
   to run

Other than that -- nothing serious. Note we still do
not dump fanotify objects so this code start to work
once fanotiy checkpoint is complete (which is addressed
in further patches).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 fsnotify.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 145 insertions(+), 36 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-fsnotify-Add-restore-for-fanotify.patch
Type: text/x-patch
Size: 5688 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121206/b0cb1f6f/attachment.bin>


More information about the CRIU mailing list