Re: [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10.04.2013 12:08, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Add a virCgroupIsolateMount method which looks at where the
> current process is place in the cgroups (eg /system/demo.lxc.libvirt)
> and then remounts the cgroups such that this sub-directory
> becomes the root directory from the current process' POV.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  configure.ac                |   2 +-
>  include/libvirt/virterror.h |   1 +
>  src/libvirt_private.syms    |   1 +
>  src/util/vircgroup.c        | 127 ++++++++++++++++++++++++++++++++++++++++++++
>  src/util/vircgroup.h        |   4 ++
>  src/util/virerror.c         |   1 +
>  6 files changed, 135 insertions(+), 1 deletion(-)

ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]