Commit 1abf969d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

show: Add pb_show_fown_cont helper

Need for PB transition.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7c447576
......@@ -30,6 +30,7 @@
#include "protobuf/ghost-file.pb-c.h"
#include "protobuf/fifo.pb-c.h"
#include "protobuf/remap-file-path.pb-c.h"
#include "protobuf/fown.pb-c.h"
#define DEF_PAGES_PER_LINE 6
......@@ -106,6 +107,14 @@ void show_fown_cont(fown_t *fown)
fown->uid, fown->euid, fown->signum, fown->pid_type, fown->pid);
}
/* FIXME Drop once PB transition complete */
void pb_show_fown_cont(void *p)
{
FownEntry *fown = p;
pr_msg("fown: uid: %#x euid: %#x signum: %#x pid_type: %#x pid: %u",
fown->uid, fown->euid, fown->signum, fown->pid_type, fown->pid);
}
void show_reg_files(int fd_reg_files, struct cr_options *o)
{
local_buf[0] = 0;
......
......@@ -118,6 +118,8 @@ void show_ghost_file(int fd, struct cr_options *o);
void show_fown_cont(fown_t *fown);
void show_eventfds(int fd, struct cr_options *o);
void pb_show_fown_cont(void *p);
extern void print_data(unsigned long addr, unsigned char *data, size_t size);
extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
......
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