[PATCH 10/15] security: apparmor: handle qcow2 data-file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Nikolai Barybin <nikolai.barybin@xxxxxxxxxxxxx>
---
 src/security/virt-aa-helper.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index 067a17f331..a2914f22b9 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -877,6 +877,10 @@ storage_source_add_files(virStorageSource *src,
         if (add_file_path(tmp, depth, buf) < 0)
             return -1;
 
+        if (src->dataFileStore &&
+            add_file_path(src->dataFileStore, buf, 0) < 0)
+            return -1;
+
         depth++;
     }
 
-- 
2.43.5



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux