]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security: Grab a reference to virSecurityManager for transactions
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Sep 2018 12:22:13 +0000 (14:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Sep 2018 10:01:36 +0000 (12:01 +0200)
commitf4d7ca62a4d05868f5e0c551fde9b2122f2fe424
treed709f6f6d76254631e6b46d7dbee280f34850f62
parent72a8b8ecc5bc4573035e0c1b5f6824edbe128e37
security: Grab a reference to virSecurityManager for transactions

This shouldn't be needed per-se. Security manager shouldn't
disappear during transactions - it's immutable. However, it
doesn't hurt to grab a reference either - transaction code uses
it after all.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/security/security_dac.c
src/security/security_selinux.c