diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2015-09-10 11:43:31 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2015-09-15 11:30:14 +0200 |
commit | 307fb9044c1c9a5394b66e6909c6fd943d7f84c8 (patch) | |
tree | 86eb9bad1e1fd631bca1be85909076a4ff4690bb /tests/securityselinuxtest.c | |
parent | 276c409163fb94b0c325900d6e2581eaa3e3ada6 (diff) | |
download | libvirt-307fb9044c1c9a5394b66e6909c6fd943d7f84c8.tar.gz |
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>
Diffstat (limited to 'tests/securityselinuxtest.c')
-rw-r--r-- | tests/securityselinuxtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/securityselinuxtest.c b/tests/securityselinuxtest.c index 38ab70e6ac..3a7862f426 100644 --- a/tests/securityselinuxtest.c +++ b/tests/securityselinuxtest.c @@ -272,7 +272,7 @@ mymain(void) int ret = 0; virSecurityManagerPtr mgr; - if (!(mgr = virSecurityManagerNew("selinux", "QEMU", false, true, false))) { + if (!(mgr = virSecurityManagerNew("selinux", "QEMU", false, true, false, true))) { virErrorPtr err = virGetLastError(); fprintf(stderr, "Unable to initialize security driver: %s\n", err->message); |