[CRIU] [PATCH 03/13] fsnotify: Extend protobuf format to keep notification type

Pavel Emelyanov xemul at parallels.com
Fri Dec 7 10:10:41 EST 2012


On 12/06/2012 09:03 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  protobuf/fsnotify.proto | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 


> message fsnotify_file_entry {
>  	required uint32		id		= 1;
>  	required uint32		flags		= 2;
>  	required fown_entry	fown		= 4;
> +
> +	optional fsnotify_type	type		= 5;
> +
> +	/* These make sense fo fanotify only */
> +	optional uint32		faflags		= 6;
> +	optional uint32		evflags		= 7;
>  }

I'd introduce another message for that.


More information about the CRIU mailing list