]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecurityManager: Track if running as privileged
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 10 Sep 2015 09:43:31 +0000 (11:43 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 22 Sep 2015 00:18:05 +0000 (20:18 -0400)
commitbb8ebbbc08642dc4b92569c8a227d55717c79df5
tree13e05c2912c90bb8d585ed65a913beafe3f85697
parent66899258e13360c6b6231e37626aca22409ab03c
virSecurityManager: Track if running as privileged

We may want to do some decisions in drivers based on fact if we
are running as privileged user or not. Propagate this info there.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit 307fb9044c1c9a5394b66e6909c6fd943d7f84c8)
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c
src/security/security_manager.c
src/security/security_manager.h
tests/qemuhotplugtest.c
tests/seclabeltest.c
tests/securityselinuxlabeltest.c
tests/securityselinuxtest.c