libvirt/src/lxc
John Ferlan ae09988eb7 lxc_cgroup: Add check for NULL cgroup before AddTask call
Commit id '71ce4759' altered the cgroup processing with respect to the
call to virCgroupAddTask being moved out from lower layers into the calling
layers especially for qemu processing of emulator and vcpu threads. The
movement affected lxc insomuch as it is possible for a code path to
return a NULL cgroup *and* a 0 return status via virCgroupNewPartition
failure when virCgroupNewIgnoreError succeeded when virCgroupNewMachineManual
returns. Coverity pointed out that would cause virCgroupAddTask to core.

This patch will check for a NULL cgroup as well as the negative return
and just return the NULL cgroup to the caller (as it would have previously)
2015-12-18 08:59:34 -05:00
..
libvirtd_lxc.aug Add support for sVirt in the LXC driver 2012-02-02 17:44:39 -07:00
lxc_cgroup.c lxc_cgroup: Add check for NULL cgroup before AddTask call 2015-12-18 08:59:34 -05:00
lxc_cgroup.h lxc: report veth device indexes to systemd 2015-01-27 13:57:02 +00:00
lxc_conf.c lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_conf.h lxc: use general virhostdev lists instead of its own 2014-03-12 16:03:04 +00:00
lxc_container.c lxc: Bind mount container TTYs 2015-11-18 11:29:48 +00:00
lxc_container.h lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_controller.c conf: Replace read accesses to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_domain.c lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_domain.h lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_driver.c conf: Replace read accesses to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_fuse.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +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 Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02: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 conf: Replace writes to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_native.h lxc: use virDomainDefPostParse for parsing LXC config string 2015-12-09 12:59:02 +01:00
lxc_process.c virNetDevMacVLanCreateWithVPortProfile: Rework to support multiple FDs 2015-12-11 08:44:43 +01:00
lxc_process.h Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00: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