mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-04 16:25:31 +00:00
ipc: rename struct ipc_seg
This name for the structure is obfuscating, because the structure will be used also for queues and semaphores sets migration. This patch renames this structure int ipc_desc_entry. It also renames all related functions and prints to reflect structure name change. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
dfa08e86d1
commit
f86d167bf1
@@ -126,7 +126,7 @@ struct ipc_var_entry {
|
||||
u32 mq_msgsize_max;
|
||||
} __packed;
|
||||
|
||||
struct ipc_seg {
|
||||
struct ipc_desc_entry {
|
||||
u32 key;
|
||||
u32 uid;
|
||||
u32 gid;
|
||||
@@ -138,7 +138,7 @@ struct ipc_seg {
|
||||
} __packed;
|
||||
|
||||
struct ipc_shm_entry {
|
||||
struct ipc_seg seg;
|
||||
struct ipc_desc_entry desc;
|
||||
u64 size;
|
||||
} __packed;
|
||||
|
||||
|
Reference in New Issue
Block a user