]> git.ipfire.org Git - thirdparty/libvirt.git/commit
selinux: Correctly report warning if virt_use_nfs not set
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 22 Sep 2011 08:57:24 +0000 (10:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Sep 2011 10:15:55 +0000 (12:15 +0200)
commit1888363d8bfd2ac165ddfd495624a449b0df9d58
tree5f14795c169043312f6475620baf63d1b05df6aa
parentc4111bd0d9397446128aa939f3519518ce9cc519
selinux: Correctly report warning if virt_use_nfs not set

Previous patch c9b37fee tried to deal with virt_use_nfs. But
setfilecon() returns EOPNOTSUPP on NFS so we need to move the
warning to else branch.
src/security/security_selinux.c