[libvirt] Fix a failure to restore SELinux label for character devices

Eric Blake eblake at redhat.com
Thu Nov 18 15:33:30 UTC 2010


On 11/18/2010 08:26 AM, Daniel Veillard wrote:
>   The code in SELinuxRestoreSecurityChardevLabel() was trying to
> use SELinuxSetFilecon directly for devices or file types while
> it should really use SELinuxRestoreSecurityFileLabel encapsulating
> routine, which avoid various problems like resolving symlinks,
> making sure he file exists and work around NFS problems

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101118/fe3aba1b/attachment-0001.sig>


More information about the libvir-list mailing list