mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
crtools: add image contents for filelocks
Some contents needed by filelock's image. Originally-signed-off-by: Zheng Gu <cengku.gu@huawei.com> Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
0de267ccdc
commit
de54cd4385
3 changed files with 3 additions and 0 deletions
1
image.c
1
image.c
|
|
@ -133,6 +133,7 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
|
|||
FD_ENTRY(TMPFS, "tmpfs-%d.tar.gz", show_raw_image),
|
||||
FD_ENTRY(TTY, "tty", show_tty),
|
||||
FD_ENTRY(TTY_INFO, "tty-info", show_tty_info),
|
||||
FD_ENTRY(FILE_LOCKS, "filelocks-%d", show_file_locks),
|
||||
FD_ENTRY(RLIMIT, "rlimit", show_rlimit),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ enum {
|
|||
*/
|
||||
|
||||
_CR_FD_TASK_FROM,
|
||||
CR_FD_FILE_LOCKS,
|
||||
CR_FD_PAGES,
|
||||
CR_FD_CORE,
|
||||
CR_FD_IDS,
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
#define NETDEV_MAGIC 0x57373951 /* Yaroslavl */
|
||||
#define TTY_MAGIC 0x59433025 /* Pushkin */
|
||||
#define TTY_INFO_MAGIC 0x59453036 /* Kolpino */
|
||||
#define FILE_LOCKS_MAGIC 0x54323616 /* Kaluga */
|
||||
#define RLIMIT_MAGIC 0x57113925 /* Rostov */
|
||||
#define FANOTIFY_MAGIC 0x55096122 /* Chelyabinsk */
|
||||
#define FANOTIFY_MARK_MAGIC 0x56506035 /* Yekaterinburg */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue