Commit 33385148 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

kdat: remove cr-exec shambles

As cr-exec is deprecated-removed, drop ruins.
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 7a1944ba
...@@ -20,7 +20,6 @@ extern int cr_pre_dump_tasks(pid_t pid); ...@@ -20,7 +20,6 @@ extern int cr_pre_dump_tasks(pid_t pid);
extern int cr_restore_tasks(void); extern int cr_restore_tasks(void);
extern int convert_to_elf(char *elf_path, int fd_core); extern int convert_to_elf(char *elf_path, int fd_core);
extern int cr_check(void); extern int cr_check(void);
extern int cr_exec(int pid, char **opts);
extern int cr_dedup(void); extern int cr_dedup(void);
extern int check_add_feature(char *arg); extern int check_add_feature(char *arg);
......
...@@ -12,7 +12,6 @@ struct stat; ...@@ -12,7 +12,6 @@ struct stat;
extern int kerndat_init(void); extern int kerndat_init(void);
extern int kerndat_init_rst(void); extern int kerndat_init_rst(void);
extern int kerndat_init_cr_exec(void);
extern int kerndat_get_dirty_track(void); extern int kerndat_get_dirty_track(void);
extern int kerndat_fdinfo_has_lock(void); extern int kerndat_fdinfo_has_lock(void);
extern int kerndat_loginuid(bool only_dump); extern int kerndat_loginuid(bool only_dump);
......
...@@ -632,14 +632,3 @@ int kerndat_init_rst(void) ...@@ -632,14 +632,3 @@ int kerndat_init_rst(void)
return ret; return ret;
} }
int kerndat_init_cr_exec(void)
{
int ret;
ret = get_task_size();
if (!ret)
ret = kerndat_compat_restore();
return ret;
}
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