Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Chen Yisong
lxc
Commits
3c6054ec
Commit
3c6054ec
authored
Jul 11, 2016
by
Christian Brauner
Committed by
Stéphane Graber
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing cgroup namespace to ns_info struct
Signed-off-by:
Christian Brauner
<
cbrauner@suse.de
>
parent
6ce2eaee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
start.c
src/lxc/start.c
+2
-1
start.h
src/lxc/start.h
+1
-0
No files found.
src/lxc/start.c
View file @
3c6054ec
...
@@ -82,7 +82,8 @@ const struct ns_info ns_info[LXC_NS_MAX] = {
...
@@ -82,7 +82,8 @@ const struct ns_info ns_info[LXC_NS_MAX] = {
[
LXC_NS_UTS
]
=
{
"uts"
,
CLONE_NEWUTS
},
[
LXC_NS_UTS
]
=
{
"uts"
,
CLONE_NEWUTS
},
[
LXC_NS_IPC
]
=
{
"ipc"
,
CLONE_NEWIPC
},
[
LXC_NS_IPC
]
=
{
"ipc"
,
CLONE_NEWIPC
},
[
LXC_NS_USER
]
=
{
"user"
,
CLONE_NEWUSER
},
[
LXC_NS_USER
]
=
{
"user"
,
CLONE_NEWUSER
},
[
LXC_NS_NET
]
=
{
"net"
,
CLONE_NEWNET
}
[
LXC_NS_NET
]
=
{
"net"
,
CLONE_NEWNET
},
[
LXC_NS_CGROUP
]
=
{
"cgroup"
,
CLONE_NEWCGROUP
}
};
};
extern
void
mod_all_rdeps
(
struct
lxc_container
*
c
,
bool
inc
);
extern
void
mod_all_rdeps
(
struct
lxc_container
*
c
,
bool
inc
);
...
...
src/lxc/start.h
View file @
3c6054ec
...
@@ -49,6 +49,7 @@ enum {
...
@@ -49,6 +49,7 @@ enum {
LXC_NS_IPC
,
LXC_NS_IPC
,
LXC_NS_USER
,
LXC_NS_USER
,
LXC_NS_NET
,
LXC_NS_NET
,
LXC_NS_CGROUP
,
LXC_NS_MAX
LXC_NS_MAX
};
};
...
...
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