]> git.proxmox.com Git - mirror_lxc.git/commit
check for access to lxcpath
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 12 Feb 2014 04:20:03 +0000 (22:20 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 12 Feb 2014 15:45:20 +0000 (10:45 -0500)
commitc8154066e8768ec4caea76625719b759f93b5b52
tree58f8d862e1be98a11cfaa5e8baebd6f6d61ce57e
parent8b605e2305d74b17ac4cd653a7a0637e65c62bff
check for access to lxcpath

The previous check for access to rootfs->path failed in the case of
overlayfs or loop backign stores.  Instead just check early on for
access to lxcpath.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c
src/lxc/start.c