]> git.ipfire.org Git - thirdparty/lxc.git/commit
aufs: Support unprivileged clone, mount
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Thu, 21 May 2015 08:36:49 +0000 (17:36 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 26 May 2015 20:01:28 +0000 (16:01 -0400)
commit31a882ef3a5e35ae891d76adc0351bad0f2540f2
tree039ea44d6c6b6b433a59acb0c52e969ecb32d5b7
parentfe4478860810c6db680181e67f65c3a15e97fc15
aufs: Support unprivileged clone, mount

Current aufs supports FS_USERNS_MOUNT by using allow_userns module
parameter. It allows root in userns to mount aufs.

This patch allows an unprivileged container to use aufs. The value of
xino option is changed to /dev/shm/aufs.xino that an unpriv user can
write.

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/bdev.c