[CRIU] Re: [PATCH 3/4] IPC: restore dump message queue
Pavel Emelyanov
xemul at parallels.com
Fri Feb 10 03:38:31 EST 2012
On 02/09/2012 07:58 PM, Kinsbursky Stanislav wrote:
>
Message queues?!
> +static int prepare_ipc_sem_set(int fd, const struct ipc_sem_entry *entry)
This one restores just values.
> +{
> + int ret, size;
> + u16 *values;
> +
> +
> +static int prepare_ipc_sem_seg(int fd, const struct ipc_sem_entry *entry)
Why segment in name?
> +{
> + int ret, id;
> + struct semid_ds ds;
> +
> + id = semget(entry->seg.id, entry->nsems,
> + entry->seg.mode | IPC_CREAT | IPC_EXCL | IPC_PRESET);
More information about the CRIU
mailing list