[libvirt] [PATCH v4 06/10] LXC: controller: change the owner of tty devices to the root user of container

Daniel P. Berrange berrange at redhat.com
Fri Jun 7 11:45:37 UTC 2013


On Fri, Jun 07, 2013 at 03:12:23PM +0800, Gao feng wrote:
> Since these tty devices will be used by container,
> the owner of them should be the root user of container.
> 
> This patch also adds a new function virLXCControllerChown,
> we can use this general function to change the owner of
> files.
> 
> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> ---
>  src/lxc/lxc_controller.c | 50 +++++++++++++++++++++++++++++++++++++++++-------
>  1 file changed, 43 insertions(+), 7 deletions(-)

ACK


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