libvirt/src/security
Jim Fehlig 3c2487ab0a security_dac: honor relabel='no' in disk config
https://bugzilla.redhat.com/show_bug.cgi?id=999301

The DAC driver ignores the relabel='no' attribute in disk config

  <disk type='file' device='floppy'>
    <driver name='qemu' type='raw'/>
    <source file='/some/path/floppy.img'>
      <seclabel model='dac' relabel='no'/>
    </source>
    <target dev='fda' bus='fdc'/>
    <readonly/>
  </disk>

This patch avoid labeling disks when relabel='no' is specified.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
2014-05-16 15:32:14 -06:00
..
security_apparmor.c conf: move host disk type to util/ 2014-04-01 10:38:13 -06:00
security_apparmor.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_dac.c security_dac: honor relabel='no' in disk config 2014-05-16 15:32:14 -06:00
security_dac.h security: use a single function to set DAC user and group 2013-10-29 06:55:09 -06:00
security_driver.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
security_driver.h security: add new internal function "virSecurityManagerGetBaseLabel" 2013-10-29 06:57:07 -06:00
security_manager.c Fix coverity-reported leak in virSecurityManagerGenLabel 2014-04-02 15:23:01 +02:00
security_manager.h security: add new internal function "virSecurityManagerGetBaseLabel" 2013-10-29 06:57:07 -06:00
security_nop.c security: add new internal function "virSecurityManagerGetBaseLabel" 2013-10-29 06:57:07 -06:00
security_nop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_selinux.c storage: Move disk->backingChain to the recursive disk->src.backingStore 2014-04-23 23:11:07 +02:00
security_selinux.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_stack.c Use K&R style for curly braces in remaining files 2014-03-20 17:27:17 +01:00
security_stack.h security: fix #endif comment in security_stack.h 2012-12-20 19:55:54 +01:00
virt-aa-helper.c util: storage: Invert the way recursive metadata retrieval works 2014-04-24 14:27:57 +02:00