[CRIU] Re: [PATCH 1/4] IPC: dump namespace itself

Pavel Emelyanov xemul at parallels.com
Mon Jan 30 13:01:12 EST 2012


> @@ -104,6 +105,27 @@ struct vma_entry {
>  	s64	fd;
>  } __packed;
>  
> +struct ipc_ns_entry {
> +	u32	sem_ctls[4];
> +	u32	msg_ctlmax;
> +	u32	msg_ctlmnb;
> +	u32	msg_ctlmni;
> +	u32	auto_msgmni;
> +#ifdef CONFIG_X86_64
> +	u64	shm_ctlmax;
> +	u64	shm_ctlall;
> +#else
> +	u32	shm_ctlmax;
> +	u32	shm_ctlall;
> +#endif

Plz, make the image arch-independent.

> +	u32	shm_ctlmni;
> +	u32	shm_rmid_forced;
> +	u32	mq_queues_max;
> +	u32	mq_msg_max;
> +	u32	mq_msgsize_max;
> +	u32	in_use[3];
> +} __packed;


More information about the CRIU mailing list