Commit df8e3a8a authored by Pavel Emelyanov's avatar Pavel Emelyanov

crtools.h: Move LAST_PID_PATH to util.h

Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 1335956a
...@@ -16,8 +16,6 @@ extern int write_img_inventory(InventoryEntry *he); ...@@ -16,8 +16,6 @@ extern int write_img_inventory(InventoryEntry *he);
extern int prepare_inventory(InventoryEntry *he); extern int prepare_inventory(InventoryEntry *he);
extern int add_post_prepare_cb(int (*actor)(void *data), void *data); extern int add_post_prepare_cb(int (*actor)(void *data), void *data);
#define LAST_PID_PATH "sys/kernel/ns_last_pid"
extern int cr_dump_tasks(pid_t pid); extern int cr_dump_tasks(pid_t pid);
extern int cr_pre_dump_tasks(pid_t pid); extern int cr_pre_dump_tasks(pid_t pid);
extern int cr_restore_tasks(void); extern int cr_restore_tasks(void);
......
...@@ -278,4 +278,6 @@ int setup_tcp_server(char *type); ...@@ -278,4 +278,6 @@ int setup_tcp_server(char *type);
int run_tcp_server(bool daemon_mode, int *ask, int cfd, int sk); int run_tcp_server(bool daemon_mode, int *ask, int cfd, int sk);
int setup_tcp_client(char *addr); int setup_tcp_client(char *addr);
#define LAST_PID_PATH "sys/kernel/ns_last_pid"
#endif /* __CR_UTIL_H__ */ #endif /* __CR_UTIL_H__ */
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "sk-inet.h" #include "sk-inet.h"
#include "vma.h" #include "vma.h"
#include "crtools.h"
#include "lock.h" #include "lock.h"
#include "restorer.h" #include "restorer.h"
#include "aio.h" #include "aio.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "ptrace.h" #include "ptrace.h"
#include "pid.h" #include "pid.h"
#include "proc_parse.h" #include "proc_parse.h"
#include "crtools.h"
#include "seccomp.h" #include "seccomp.h"
#include "cr_options.h" #include "cr_options.h"
......
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