conf: use lxc_groups_t directly

parent fb4dbb51
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/vfs.h> #include <sys/vfs.h>
#include "attach_options.h"
#include "caps.h" #include "caps.h"
#include "compiler.h" #include "compiler.h"
#include "config.h" #include "config.h"
...@@ -413,14 +414,12 @@ struct lxc_conf { ...@@ -413,14 +414,12 @@ struct lxc_conf {
/* init command */ /* init command */
char *init_cmd; char *init_cmd;
/* if running in a new user namespace, the UID/GID that init and COMMAND /* The uid to use for the container. */
* should run under when using lxc-execute */
uid_t init_uid; uid_t init_uid;
/* The gid to use for the container. */
gid_t init_gid; gid_t init_gid;
struct { /* The groups to use for the container. */
int size; lxc_groups_t init_groups;
gid_t *list;
} init_groups;
/* indicator if the container will be destroyed on shutdown */ /* indicator if the container will be destroyed on shutdown */
unsigned int ephemeral; unsigned int ephemeral;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment