libvirt/src/lxc
Richard Weinberger 41885a0224 LXC: Fix virLXCControllerSetupDevPTS() wrt user namespaces
The gid value passed to devpts has to be translated by hand as
virLXCControllerSetupDevPTS() is called before setting up the user
and group mappings.
Otherwise devpts will use an unmapped gid and openpty()
will fail within containers.
Linux kernel commit 23adbe12
("fs,userns: Change inode_capable to capable_wrt_inode_uidgid")
uncovered that issue.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2014-08-14 14:32:49 +02:00
..
libvirtd_lxc.aug Add support for sVirt in the LXC driver 2012-02-02 17:44:39 -07:00
lxc_cgroup.c hostdev: Introduce virDomainHostdevSubsysUSB 2014-07-24 06:39:27 -04:00
lxc_cgroup.h Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_conf.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
lxc_conf.h lxc: use general virhostdev lists instead of its own 2014-03-12 16:03:04 +00:00
lxc_container.c Introduce virTristateSwitch enum 2014-07-23 12:59:40 +02:00
lxc_container.h LXC from native: migrate fstab and lxc.mount.entry 2014-02-12 17:52:46 +00:00
lxc_controller.c LXC: Fix virLXCControllerSetupDevPTS() wrt user namespaces 2014-08-14 14:32:49 +02:00
lxc_domain.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
lxc_domain.h Store a virCgroupPtr instance in virLXCDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
lxc_driver.c LXC: resolve issues in lxcDomainSetMaxMemory 2014-08-13 17:40:28 -04:00
lxc_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_fuse.c Set errno on OOM in lxcProcReadMeminfo 2014-07-03 10:48:14 +02:00
lxc_fuse.h Avoid async signal safety problem in glibc's setxid 2013-11-18 15:36:23 +00:00
lxc_hostdev.c Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_hostdev.h Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_monitor_protocol.x Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_monitor.c Indent top-level labels by one space in src/lxc/ 2014-03-25 14:58:39 +01:00
lxc_monitor.h Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_native.c numatune: finish the split from domain_conf and remove all dependencies 2014-07-24 08:40:25 +02:00
lxc_native.h LXC driver: started implementing connectDomainXMLFromNative 2014-02-12 17:52:46 +00:00
lxc_process.c Don't overwrite errors from virNetDevBandwidthSet 2014-08-04 16:59:28 +02:00
lxc_process.h lxc: switch to virCloseCallbacks API 2013-07-18 14:16:54 +02:00
lxc.conf Standardize whitespace used in example config files 2012-05-28 10:59:13 +01:00
test_libvirtd_lxc.aug.in Autogenerate augeas test case from default config files 2012-05-28 11:07:12 +01:00