[libvirt] [PATCH v4 03/10] LXC: sort the uidmap/gidmap of domain

2013-06-07 Thread Gao feng
Make sure the mapping line contains the root user of container is the first element of idmap array. So we can get the real user id on host for the container easily. This patch also check the map information, User must map the root user of container to any user of host. Signed-off-by: Gao feng

Re: [libvirt] [PATCH v4 03/10] LXC: sort the uidmap/gidmap of domain

2013-06-07 Thread Daniel P. Berrange
On Fri, Jun 07, 2013 at 03:12:20PM +0800, Gao feng wrote: Make sure the mapping line contains the root user of container is the first element of idmap array. So we can get the real user id on host for the container easily. This patch also check the map information, User must map the root