[libvirt] [PATCH v3 04/12] LXC: introduce virLXCControllerSetupUserns and lxcContainerSetID
Daniel P. Berrange
berrange at redhat.com
Wed Jun 5 13:05:05 UTC 2013
On Wed, Jun 05, 2013 at 02:43:41PM +0800, Gao feng wrote:
> On 06/04/2013 09:35 PM, Daniel P. Berrange wrote:
> > On Thu, May 23, 2013 at 12:06:48PM +0800, Gao feng wrote:
> >> This patch introduces new helper function
> >> virLXCControllerSetupUserns, in this function,
> >> we set the files uid_map and gid_map of the init
> >> task of container.
> >>
> >> lxcContainerSetID is used for creating cred for
> >> tasks running in container. Since after setuid/setgid,
> >> we may be a new user. This patch calls lxcContainerSetUserns
> >> at first to make sure the new created files belong to
> >> right user.
> >>
> >> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> sure,
> I will wait for your related patches being merged and then update this patchset.
Both my patches are pushed now.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list