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

Kinsbursky Stanislav skinsbursky at openvz.org
Tue Jan 31 03:02:32 EST 2012


30.01.2012 22:01, Pavel Emelyanov пишет:
>> @@ -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.

Ok.

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


-- 
Best regards,
Stanislav Kinsbursky




More information about the CRIU mailing list