mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-04 16:25:31 +00:00
Change crtools to criu in criu messages
Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
00ab805b74
commit
c19e62f87c
@@ -1216,7 +1216,7 @@ static int restore_root_task(struct pstree_item *init, struct cr_options *opts)
|
|||||||
if (!(current_ns_mask & CLONE_NEWPID)) {
|
if (!(current_ns_mask & CLONE_NEWPID)) {
|
||||||
pr_err("This process tree can only be restored "
|
pr_err("This process tree can only be restored "
|
||||||
"in a new pid namespace.\n"
|
"in a new pid namespace.\n"
|
||||||
"crtools should be re-executed with the "
|
"criu should be re-executed with the "
|
||||||
"\"--namespace pid\" option.\n");
|
"\"--namespace pid\" option.\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
2
ptrace.c
2
ptrace.c
@@ -73,7 +73,7 @@ int seize_task(pid_t pid, pid_t ppid, pid_t *pgid, pid_t *sid)
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
if (ps.state != 'Z') {
|
if (ps.state != 'Z') {
|
||||||
if (pid == getpid())
|
if (pid == getpid())
|
||||||
pr_err("The crtools itself is within dumped tree.\n");
|
pr_err("The criu itself is within dumped tree.\n");
|
||||||
else
|
else
|
||||||
pr_err("Unseizable non-zombie %d found, state %c, err %d/%d\n",
|
pr_err("Unseizable non-zombie %d found, state %c, err %d/%d\n",
|
||||||
pid, ps.state, ret, ptrace_errno);
|
pid, ps.state, ret, ptrace_errno);
|
||||||
|
Reference in New Issue
Block a user