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
d8c136e1
Unverified
Commit
d8c136e1
authored
Jan 04, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: non-functional changes
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
c9d3f3aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
conf.c
src/lxc/conf.c
+3
-1
conf.h
src/lxc/conf.h
+2
-0
No files found.
src/lxc/conf.c
View file @
d8c136e1
...
...
@@ -3322,7 +3322,8 @@ int lxc_clear_config_caps(struct lxc_conf *c)
return
0
;
}
static
int
lxc_free_idmap
(
struct
lxc_list
*
id_map
)
{
static
int
lxc_free_idmap
(
struct
lxc_list
*
id_map
)
{
struct
lxc_list
*
it
,
*
next
;
lxc_list_for_each_safe
(
it
,
id_map
,
next
)
{
...
...
@@ -3330,6 +3331,7 @@ static int lxc_free_idmap(struct lxc_list *id_map) {
free
(
it
->
elem
);
free
(
it
);
}
return
0
;
}
...
...
src/lxc/conf.h
View file @
d8c136e1
...
...
@@ -211,9 +211,11 @@ struct lxc_conf {
struct
lxc_list
cgroup
;
struct
{
struct
lxc_list
id_map
;
/* Pointer to the idmap entry for the container's root uid in
* the id_map list. Do not free! */
struct
id_map
*
root_nsuid_map
;
/* Pointer to the idmap entry for the container's root gid in
* the id_map list. Do not free! */
struct
id_map
*
root_nsgid_map
;
...
...
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