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
b8d01d1b
Commit
b8d01d1b
authored
Jul 03, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files: Rename prepare_fs into restore_fs
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
471d73e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cr-restore.c
cr-restore.c
+1
-1
files.c
files.c
+1
-1
files.h
include/files.h
+1
-1
No files found.
cr-restore.c
View file @
b8d01d1b
...
...
@@ -2679,7 +2679,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
* attempts to open files by paths above (e.g. /proc).
*/
if
(
prepa
re_fs
(
pid
))
if
(
resto
re_fs
(
pid
))
goto
err
;
close_image_dir
();
...
...
files.c
View file @
b8d01d1b
...
...
@@ -1018,7 +1018,7 @@ static int fchroot(int fd)
return
chroot
(
fd_path
);
}
int
prepa
re_fs
(
int
pid
)
int
resto
re_fs
(
int
pid
)
{
int
ifd
,
dd_root
,
dd_cwd
,
ret
,
err
=
-
1
;
FsEntry
*
fe
;
...
...
include/files.h
View file @
b8d01d1b
...
...
@@ -148,7 +148,7 @@ extern int prepare_fd_pid(struct pstree_item *me);
extern
int
prepare_ctl_tty
(
int
pid
,
struct
rst_info
*
rst_info
,
u32
ctl_tty_id
);
extern
int
prepare_shared_fdinfo
(
void
);
extern
int
get_filemap_fd
(
struct
vma_area
*
);
extern
int
prepa
re_fs
(
int
pid
);
extern
int
resto
re_fs
(
int
pid
);
extern
int
set_fd_flags
(
int
fd
,
int
flags
);
extern
int
close_old_fds
(
struct
pstree_item
*
me
);
...
...
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