]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
LXC: sort the uidmap/gidmap of domain
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 7 Jun 2013 07:12:20 +0000 (15:12 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Jul 2013 10:20:04 +0000 (11:20 +0100)
commit43d4f46aeb7fa7b9888c190d2b9e3d1155f97956
treed94a120d701a14cc51afac759b21dd516c903a7d
parent8b58336eecbebdf0318c3fb768afad4620a65f59
LXC: sort the uidmap/gidmap of domain

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 <gaofeng@cn.fujitsu.com>
src/conf/domain_conf.c