[libvirt] [PATCH] virt-aa-helper: clean old reference to libvirt-sandbox

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu May 16 07:38:55 UTC 2019


It came up that libvirt-sandbox is a failed (and removed) experiment.
Let us clean up and remove it from the virt-aa-helper source as well.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
---
 src/security/virt-aa-helper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index ad9a7dda94..fea4da80dc 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -511,8 +511,7 @@ valid_path(const char *path, const bool readonly)
     /* override the above with these */
     const char * const override[] = {
         "/sys/devices/pci",                /* for hostdev pci devices */
-        "/sys/kernel/config/target/vhost", /* for hostdev vhost_scsi devices */
-        "/etc/libvirt-sandbox/services/"   /* for virt-sandbox service config */
+        "/sys/kernel/config/target/vhost"  /* for hostdev vhost_scsi devices */
     };
 
     const int nropaths = ARRAY_CARDINALITY(restricted);
-- 
2.21.0




More information about the libvir-list mailing list