[CRIU] [PATCH 03/18] fsnotify: Extend protobuf format to keep notification type and specific parameters

Cyrill Gorcunov gorcunov at openvz.org
Fri Jan 11 11:58:04 EST 2013


fanotify requires additional parameters to be stored so we need
to extend protobuf

 - each file entry will have a @type of the notification it hosts

 - additional parameters for fanotify_init call (global flags
   and event flags) will be stored in optional @faglob entry

 - the watch descriptor (or mark in terms of kernel) now host
   the @type of the notification it represent and mark flags
   @mflags needed for fanotify objects (initially I've been
   reusing @wd field for that but Pavel pointed that better
   to not create mess in a sake of saving couple of bytes
   in image)

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 protobuf/fsnotify.proto | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fsnotify-Extend-protobuf-format-to-keep-notification.patch
Type: text/x-patch
Size: 1210 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130111/2eee2840/attachment.bin>


More information about the CRIU mailing list