]> git.ipfire.org Git - thirdparty/libvirt.git/commit
selinux: Only create the selabel_handle once.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 23 Jan 2013 20:09:04 +0000 (20:09 +0000)
committerCole Robinson <crobinso@redhat.com>
Mon, 28 Jan 2013 19:13:12 +0000 (14:13 -0500)
commitf63b9694dc031165e55e99e463067be386474611
treef10412607a4dbd4fbb529ff63e6b2813bba2372d
parent460e4816478a3fa0b148e7218169a551421c9a33
selinux: Only create the selabel_handle once.

According to Eric Paris this is slightly more efficient because it
only loads the regular expressions in libselinux once.
(cherry picked from commit 6159710ca1eecefa7c81335612c8141c88fc35a9)

Conflicts:
src/security/security_selinux.c
src/security/security_selinux.c