[CRIU] Re: [PATCH 1/2] protobuf: proto-file example for IPC semaphores

Pavel Emelyanov xemul at parallels.com
Fri May 25 02:21:15 EDT 2012


On 05/24/2012 07:34 PM, Kinsbursky Stanislav wrote:
> From: Stanislav Kinsbursky <skinsbursky at openvz.org>
> 
> This patch also includes build and link of protobuf facility.
> 
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
> ---
>  Makefile               |   11 ++++++++---
>  protobuf/Makefile      |   50 ++++++++++++++++++++++++++++++++++++++++++++++++
>  protobuf/README        |    3 +++
>  protobuf/ipc_sem.proto |   11 +++++++++++
>  4 files changed, 72 insertions(+), 3 deletions(-)
>  create mode 100644 protobuf/Makefile
>  create mode 100644 protobuf/README
>  create mode 100644 protobuf/ipc_sem.proto

> --- /dev/null
> +++ b/protobuf/ipc_sem.proto
> @@ -0,0 +1,11 @@
> +message ipc_sem_entry
> +{
> +	required uint32	key = 1;
> +	required uint32 uid = 2;
> +	required uint32 gid = 3;
> +	required uint32 cuid = 4;
> +	required uint32 cgid = 5;
> +	required uint32 mode = 6;
> +	required uint32 id = 7;
> +	required bytes values=8;
> +}

What do these numbers mean (=1, =2, etc)?


More information about the CRIU mailing list