]> xenbits.xensource.com Git - libvirt.git/commit
selinux: avoid memory overhead of matchpathcon
authorEric Blake <eblake@redhat.com>
Wed, 1 Dec 2010 01:22:54 +0000 (18:22 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 14 Dec 2010 00:01:57 +0000 (17:01 -0700)
commit6679943f9419483d119b9be2fcc166c381fa6cbc
tree20692b67d24e26ae097c30347ef4b96c71b8f84f
parent6e9a29c887a89663c5e76377b5985753efd2c80b
selinux: avoid memory overhead of matchpathcon

https://bugzilla.redhat.com/show_bug.cgi?id=658657

* src/security/security_selinux.c
(SELinuxRestoreSecurityFileLabel): Use selabel_lookup instead of
matchpathcon.
Suggested by Daniel Walsh.
src/security/security_selinux.c