mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
crtools: Get rid of on-stack cr_options
We have global instance of them, that's enough. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -223,12 +223,11 @@ static inline int fdset_fd(const struct cr_fdset *fdset, int type)
|
||||
}
|
||||
|
||||
extern struct cr_fdset *glob_fdset;
|
||||
extern struct cr_options opts;
|
||||
|
||||
int cr_dump_tasks(pid_t pid);
|
||||
int cr_pre_dump_tasks(pid_t pid);
|
||||
int cr_restore_tasks(struct cr_options *opts);
|
||||
int cr_show(struct cr_options *opts, int pid);
|
||||
int cr_restore_tasks(void);
|
||||
int cr_show(int pid);
|
||||
int convert_to_elf(char *elf_path, int fd_core);
|
||||
int cr_check(void);
|
||||
int cr_exec(int pid, char **opts);
|
||||
|
Reference in New Issue
Block a user