]> 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>
Wed, 1 Jul 2015 17:39:17 +0000 (13:39 -0400)
commitf216b3dd11e2010c787f8a3d093300dc06b487dc
tree670df3247425c806399605d132f57be31563d7f7
parentb18076d297a51cc76b15d12e53734a03f9050fb6
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