2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

pipe: all pipes are saved in one file (v2)

Information about pipe's file structs saved in one global file and
fdinfo_entry is saved for each descriptor

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-04-05 20:02:00 +04:00
committed by Pavel Emelyanov
parent 382ebc3063
commit bdb3932be5
4 changed files with 110 additions and 108 deletions

View File

@@ -33,6 +33,7 @@
enum fd_types {
FDINFO_UND,
FDINFO_REG,
FDINFO_PIPE,
FDINFO_MAP,
FDINFO_INETSK,
FDINFO_CWD,
@@ -71,8 +72,8 @@ struct pstree_entry {
} __packed;
struct pipe_entry {
u32 fd;
u32 pipeid;
u32 id;
u32 pipe_id;
u32 flags;
u32 bytes;
u8 data[0];