]>
Commit | Line | Data |
---|---|---|
1513a0b5 | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
02a2999d WB |
2 | From: Wolfgang Bumiller <w.bumiller@proxmox.com> |
3 | Date: Fri, 23 Dec 2016 15:57:24 +0100 | |
f62d31fd WB |
4 | Subject: [PATCH] PVE: [Config] namespace separation |
5 | ||
6 | * rename cgroup namespace directory to ns | |
7 | * set lxc.cgroup.protect_limits default to 'both' | |
02a2999d WB |
8 | |
9 | Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> | |
10 | --- | |
11 | src/lxc/cgroups/cgroup.h | 2 +- | |
f62d31fd WB |
12 | src/lxc/initutils.h | 2 +- |
13 | 2 files changed, 2 insertions(+), 2 deletions(-) | |
02a2999d WB |
14 | |
15 | diff --git a/src/lxc/cgroups/cgroup.h b/src/lxc/cgroups/cgroup.h | |
834bb4d7 | 16 | index 59445b5a..7d6135c1 100644 |
02a2999d WB |
17 | --- a/src/lxc/cgroups/cgroup.h |
18 | +++ b/src/lxc/cgroups/cgroup.h | |
834bb4d7 | 19 | @@ -36,7 +36,7 @@ |
02a2999d WB |
20 | * will be moved into an additional subdirectory "cgns/" inside the cgroup in |
21 | * order to prevent it from accessing the outer limiting cgroup. | |
22 | */ | |
23 | -#define CGROUP_NAMESPACE_SUBDIR "cgns" | |
24 | +#define CGROUP_NAMESPACE_SUBDIR "ns" | |
25 | ||
26 | struct lxc_handler; | |
27 | struct lxc_conf; | |
f62d31fd | 28 | diff --git a/src/lxc/initutils.h b/src/lxc/initutils.h |
834bb4d7 | 29 | index b542e601..78d3f2b1 100644 |
f62d31fd WB |
30 | --- a/src/lxc/initutils.h |
31 | +++ b/src/lxc/initutils.h | |
32 | @@ -42,7 +42,7 @@ | |
33 | #define DEFAULT_THIN_POOL "lxc" | |
34 | #define DEFAULT_ZFSROOT "lxc" | |
35 | #define DEFAULT_RBDPOOL "lxc" | |
36 | -#define DEFAULT_CGPROTECT "privileged" | |
37 | +#define DEFAULT_CGPROTECT "both" | |
38 | ||
39 | #ifndef PR_SET_MM | |
40 | #define PR_SET_MM 35 | |
02a2999d | 41 | -- |
7395ab25 | 42 | 2.11.0 |
02a2999d | 43 |