Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
6fe296a2
Commit
6fe296a2
authored
Jun 25, 2015
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rst: Remove actually unused pid arg from restore_one_zombie
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
dc149e88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cr-restore.c
cr-restore.c
+3
-3
No files found.
cr-restore.c
View file @
6fe296a2
...
@@ -882,7 +882,7 @@ static inline int sig_fatal(int sig)
...
@@ -882,7 +882,7 @@ static inline int sig_fatal(int sig)
struct
task_entries
*
task_entries
;
struct
task_entries
*
task_entries
;
static
unsigned
long
task_entries_pos
;
static
unsigned
long
task_entries_pos
;
static
int
restore_one_zombie
(
int
pid
,
CoreEntry
*
core
)
static
int
restore_one_zombie
(
CoreEntry
*
core
)
{
{
int
exit_code
=
core
->
tc
->
exit_code
;
int
exit_code
=
core
->
tc
->
exit_code
;
...
@@ -912,7 +912,7 @@ static int restore_one_zombie(int pid, CoreEntry *core)
...
@@ -912,7 +912,7 @@ static int restore_one_zombie(int pid, CoreEntry *core)
signr
=
SIGABRT
;
signr
=
SIGABRT
;
}
}
if
(
kill
(
pid
,
signr
)
<
0
)
if
(
kill
(
current
->
pid
.
virt
,
signr
)
<
0
)
pr_perror
(
"Can't kill myself, will just exit"
);
pr_perror
(
"Can't kill myself, will just exit"
);
exit_code
=
0
;
exit_code
=
0
;
...
@@ -965,7 +965,7 @@ static int restore_one_task(int pid, CoreEntry *core)
...
@@ -965,7 +965,7 @@ static int restore_one_task(int pid, CoreEntry *core)
if
(
task_alive
(
current
))
if
(
task_alive
(
current
))
ret
=
restore_one_alive_task
(
pid
,
core
);
ret
=
restore_one_alive_task
(
pid
,
core
);
else
if
(
current
->
state
==
TASK_DEAD
)
else
if
(
current
->
state
==
TASK_DEAD
)
ret
=
restore_one_zombie
(
pid
,
core
);
ret
=
restore_one_zombie
(
core
);
else
if
(
current
->
state
==
TASK_HELPER
)
{
else
if
(
current
->
state
==
TASK_HELPER
)
{
restore_finish_stage
(
CR_STATE_RESTORE
);
restore_finish_stage
(
CR_STATE_RESTORE
);
ret
=
0
;
ret
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment