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
5057dc5e
Commit
5057dc5e
authored
Mar 03, 2016
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cg: Add comment why cgroup ns flag is not passed to clone
Signed-off-by:
Pavel Emelyanov
<
xemul@virtuozzo.com
>
parent
dae14ddf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cr-restore.c
criu/cr-restore.c
+4
-0
No files found.
criu/cr-restore.c
View file @
5057dc5e
...
...
@@ -1208,6 +1208,10 @@ static inline int fork_with_pid(struct pstree_item *item)
*
* Here is an idea -- unhare net namespace in callee instead.
*/
/*
* The cgroup namespace is also unshared explicitly in the
* move_in_cgroup(), so drop this flag here as well.
*/
ret
=
clone
(
restore_task_with_children
,
ca
.
stack_ptr
,
(
ca
.
clone_flags
&
(
~
CLONE_NEWNET
|
~
CLONE_NEWCGROUP
))
|
SIGCHLD
,
&
ca
);
...
...
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