mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 07:11:51 +00:00
add missing cgroup namespace to ns_info struct
Signed-off-by: Christian Brauner <cbrauner@suse.de>
This commit is contained in:
parent
c7d5c3e508
commit
ceecc92c42
@ -82,7 +82,8 @@ const struct ns_info ns_info[LXC_NS_MAX] = {
|
||||
[LXC_NS_UTS] = {"uts", CLONE_NEWUTS},
|
||||
[LXC_NS_IPC] = {"ipc", CLONE_NEWIPC},
|
||||
[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);
|
||||
|
@ -49,6 +49,7 @@ enum {
|
||||
LXC_NS_IPC,
|
||||
LXC_NS_USER,
|
||||
LXC_NS_NET,
|
||||
LXC_NS_CGROUP,
|
||||
LXC_NS_MAX
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user