Commit 84176c08 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

crtools: add image contants for pending signals (v2)

v2: rename images
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6e528bd1
......@@ -156,6 +156,8 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
FD_ENTRY(FILE_LOCKS, "filelocks-%d", show_file_locks),
FD_ENTRY(RLIMIT, "rlimit", show_rlimit),
FD_ENTRY(PAGES, "pages-%u", NULL),
FD_ENTRY(SIGNAL, "signal-s-%d", show_siginfo), /* shared signals */
FD_ENTRY(PSIGNAL, "signal-p-%d", show_siginfo), /* private signals */
};
static struct cr_fdset *alloc_cr_fdset(int nr)
......
......@@ -31,6 +31,7 @@ enum {
CR_FD_CREDS,
CR_FD_FS,
CR_FD_RLIMIT,
CR_FD_SIGNAL,
_CR_FD_TASK_TO,
CR_FD_PAGEMAP,
......@@ -82,6 +83,7 @@ enum {
CR_FD_TMPFS,
CR_FD_PAGES,
CR_FD_PSIGNAL,
CR_FD_MAX
};
......
......@@ -64,6 +64,8 @@
#define RLIMIT_MAGIC 0x57113925 /* Rostov */
#define FANOTIFY_MAGIC 0x55096122 /* Chelyabinsk */
#define FANOTIFY_MARK_MAGIC 0x56506035 /* Yekaterinburg */
#define SIGNAL_MAGIC 0x59255647 /* Berezniki */
#define PSIGNAL_MAGIC SIGNAL_MAGIC
#define IFADDR_MAGIC RAW_IMAGE_MAGIC
#define ROUTE_MAGIC RAW_IMAGE_MAGIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment