]> xenbits.xensource.com Git - libvirt.git/commit
selinux: Avoid label reservations for type = none
authorShivaprasad G Bhat <shivaprasadbhat@gmail.com>
Thu, 4 Sep 2014 09:12:32 +0000 (14:42 +0530)
committerMartin Kletzander <mkletzan@redhat.com>
Sun, 7 Sep 2014 15:09:34 +0000 (17:09 +0200)
commita48362cdfeb5c948218a2e4bf7cc9354082fc1b6
tree7d6cc3b391313a1e04a39d845cc02a2d0d6ea87d
parent1069e3b90cd0b1b12eee18b977318fc30b0fabce
selinux: Avoid label reservations for type = none

For security type='none' libvirt according to the docs should not
generate seclabel be it for selinux or any model. So, skip the
reservation of labels when type is none.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
src/security/security_selinux.c