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
05678637
Commit
05678637
authored
Oct 31, 2016
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pie: Split parasite_fini into pieces
Signed-off-by:
Pavel Emelyanov
<
xemul@virtuozzo.com
>
parent
0e1cce76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
parasite.c
criu/pie/parasite.c
+8
-3
No files found.
criu/pie/parasite.c
View file @
05678637
...
...
@@ -662,14 +662,19 @@ static noinline void fini_sigreturn(unsigned long new_sp)
ARCH_RT_SIGRETURN
(
new_sp
);
}
static
int
fini
(
void
)
static
void
parasite_cleanup
(
void
)
{
unsigned
long
new_sp
;
if
(
mprotect_args
)
{
mprotect_args
->
add_prot
=
0
;
mprotect_vmas
(
mprotect_args
);
}
}
static
int
fini
(
void
)
{
unsigned
long
new_sp
;
parasite_cleanup
();
new_sp
=
(
long
)
sigframe
+
RT_SIGFRAME_OFFSET
(
sigframe
);
pr_debug
(
"%ld: new_sp=%lx ip %lx
\n
"
,
sys_gettid
(),
...
...
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