]> 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>
Fri, 14 Aug 2015 17:14:53 +0000 (13:14 -0400)
commite262e50e7d1340d3798e81b1156eff98b3978af0
tree4f3523435032d7db743f9adc7b21239209c8dece
parent242da74569fa266a8f3c15fd7998481f57620d5a
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