2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

inotify: Add checkpoint/restore v2

v2:
 - open_mount is cleaned up
 - byte-stream hex conversion remains untouched since
   strtol is flipping numbers to LE manner

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-05-04 13:38:00 +04:00
committed by Pavel Emelyanov
parent ed59bf001b
commit bff52ba952
12 changed files with 496 additions and 9 deletions

View File

@@ -58,6 +58,8 @@ enum {
CR_FD_EVENTFD,
CR_FD_EVENTPOLL,
CR_FD_EVENTPOLL_TFD,
CR_FD_INOTIFY,
CR_FD_INOTIFY_WD,
_CR_FD_GLOB_TO,
CR_FD_MAX
@@ -126,6 +128,8 @@ extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
#define FMT_FNAME_EVENTFD "eventfd.img"
#define FMT_FNAME_EVENTPOLL "eventpoll.img"
#define FMT_FNAME_EVENTPOLL_TFD "eventpoll-tfd.img"
#define FMT_FNAME_INOTIFY "inotify.img"
#define FMT_FNAME_INOTIFY_WD "inotify-wd.img"
#define FMT_FNAME_ITIMERS "itimers-%d.img"
#define FMT_FNAME_CREDS "creds-%d.img"
#define FMT_FNAME_UTSNS "utsns-%d.img"