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

Dump and restore sigactions (v2)

A parasite code dumps all sigactions in sigact.pid.

v2: remove hard code for sizeof(sigset_t)

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Andrey Vagin
2011-11-29 15:12:25 +03:00
committed by Cyrill Gorcunov
parent 287b7d2aa9
commit 25434884e1
13 changed files with 176 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ enum {
CR_FD_PIPES,
CR_FD_PSTREE,
CR_FD_SHMEM,
CR_FD_SIGACT,
CR_FD_MAX
};
@@ -51,6 +52,7 @@ struct cr_fd_desc_tmpl {
#define FMT_FNAME_PSTREE "pstree-%d.img"
#define FMT_FNAME_SHMEM "shmem-%d.img"
#define FMT_FNAME_VMAS "vmas-%d.img"
#define FMT_FNAME_SIGACTS "sigacts-%d.img"
/* file descriptors */
struct cr_fd_desc {