libvirt/src/security
Michal Privoznik a1c68a1fcb security_manager.c: Append seclabel iff generated
With my previous patches, we unconditionally appended a seclabel,
even if it wasn't generated but found in array of defined seclabels.
This resulted in double free later when doing virDomainDefFree
and iterating over the array of defined seclabels.

Moreover, there was another possibility of double free, if the
seclabel was generated in the last iteration of the process of
walking trough security managers array.
2013-03-28 16:13:01 +01:00
..
security_apparmor.c apparmor: use AppArmorSetFDLabel for both imageFD and tapFD 2013-03-08 10:56:07 +08:00
security_apparmor.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_dac.c selinux: deal with dtb file 2013-03-19 15:48:59 -06:00
security_dac.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_driver.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
security_driver.h security: add new virSecurityManagerSetChildProcessLabel API 2013-02-13 16:11:16 -05:00
security_manager.c security_manager.c: Append seclabel iff generated 2013-03-28 16:13:01 +01:00
security_manager.h security: add new virSecurityManagerSetChildProcessLabel API 2013-02-13 16:11:16 -05:00
security_nop.c security: add new virSecurityManagerSetChildProcessLabel API 2013-02-13 16:11:16 -05:00
security_nop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_selinux.c security_manager: Don't manipulate domain XML in virDomainDefGetSecurityLabelDef 2013-03-28 10:01:06 +01:00
security_selinux.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_stack.c security: add new virSecurityManagerSetChildProcessLabel API 2013-02-13 16:11:16 -05:00
security_stack.h security: fix #endif comment in security_stack.h 2012-12-20 19:55:54 +01:00
virt-aa-helper.c selinux: deal with dtb file 2013-03-19 15:48:59 -06:00