]> xenbits.xensource.com Git - libvirt.git/commit
security_dac: avoid relabeling when relabel='no'
authorJim Fehlig <jfehlig@suse.com>
Thu, 15 May 2014 22:38:01 +0000 (16:38 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 16 May 2014 21:32:14 +0000 (15:32 -0600)
commit9369a562446b7bb5314e6e1f6e65379bc1da6721
treebb554e4eb9e1e2ea22172dbb25c0a527c82aebcf
parent3de7e4ec5e98145137445b631f44a43a19267d0c
security_dac: avoid relabeling when relabel='no'

If relabel='no' at the domain level, no need to attempt relabeling
in virSecurityDAC{Set,Restore}SecurityAllLabel().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/security/security_dac.c