aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Normand <normand@fr.ibm.com>2010-01-19 18:45:16 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2010-01-20 11:09:56 +0100
commit8b7329af3fa876aacd6b0299f4d86e76cd3b14a5 (patch)
treeb926e48748a7f8d4b70fcfcf4298b12a50c4fbf8 /src/lxc/lxc-setcap.in
parentRemove useless lines (diff)
downloadlxc-8b7329af3fa876aacd6b0299f4d86e76cd3b14a5.tar.gz
lxc-8b7329af3fa876aacd6b0299f4d86e76cd3b14a5.tar.bz2
lxc-8b7329af3fa876aacd6b0299f4d86e76cd3b14a5.zip
lxc: add capabilities for C/R
Signed-off-by: Michel Normand <normand@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'src/lxc/lxc-setcap.in')
-rw-r--r--src/lxc/lxc-setcap.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lxc/lxc-setcap.in b/src/lxc/lxc-setcap.in
index c92666d..4731035 100644
--- a/src/lxc/lxc-setcap.in
+++ b/src/lxc/lxc-setcap.in
@@ -32,8 +32,8 @@ LXC_COMMON_CAPS="cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override"
LXC_UNSHARE_CAPS=$LXC_COMMON_CAPS
LXC_START_CAPS="$LXC_COMMON_CAPS,cap_fowner,cap_sys_chroot,cap_setpcap"
LXC_EXECUTE_CAPS=$LXC_START_CAPS
-LXC_RESTART_CAPS=$LXC_START_CAPS
-LXC_CHECKPOINT_CAPS="$LXC_COMMON_CAPS,cap_sys_ptrace"
+LXC_RESTART_CAPS="$LXC_START_CAPS,cap_mknod"
+LXC_CHECKPOINT_CAPS="$LXC_COMMON_CAPS,cap_sys_ptrace,cap_mknod"
LXC_DROP_CAPS=""