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
4822319f
Unverified
Commit
4822319f
authored
Feb 05, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: use lxc_groups_t directly
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
fb4dbb51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
conf.h
src/lxc/conf.h
+5
-6
No files found.
src/lxc/conf.h
View file @
4822319f
...
...
@@ -15,6 +15,7 @@
#include <sys/types.h>
#include <sys/vfs.h>
#include "attach_options.h"
#include "caps.h"
#include "compiler.h"
#include "config.h"
...
...
@@ -413,14 +414,12 @@ struct lxc_conf {
/* init command */
char
*
init_cmd
;
/* if running in a new user namespace, the UID/GID that init and COMMAND
* should run under when using lxc-execute */
/* The uid to use for the container. */
uid_t
init_uid
;
/* The gid to use for the container. */
gid_t
init_gid
;
struct
{
int
size
;
gid_t
*
list
;
}
init_groups
;
/* The groups to use for the container. */
lxc_groups_t
init_groups
;
/* indicator if the container will be destroyed on shutdown */
unsigned
int
ephemeral
;
...
...
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