[Libvir] PATCH: Fix dir/fs storage pool when SELinux is disabled
Daniel Veillard
veillard at redhat.com
Sat Mar 15 10:43:45 UTC 2008
On Fri, Mar 14, 2008 at 09:23:09PM +0000, Daniel P. Berrange wrote:
> When SELinux is disabled fgetfilecon() may well return -1, if a file has no
> extended attribute with security context data. This causes the storage pool
> to skip that file. The fix is to check whether errno is ENODATA and treat
> that as an expected error case & ignore it.
Looks fine, +1
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list