From nobody Sun Feb 8 20:26:21 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1725719603; cv=none; d=zohomail.com; s=zohoarc; b=N/vsuo7wxTXn/ZOFp9XFRFeFnw2l/WK7Ib8XQYCI7v6Zm68O5f8Bt8jxWog5QQeGxQUbFfoV+DedCUuCfZbUjoW6rDlDml3GaOb+f9funWz5RUBInCfLAJO4gSqLLhRB8FXS1YuFvcCFGnXYh/M6kWC1mw9HgHOoiSMfFZeneZs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1725719603; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=a/FTU+W4Kn0gUDXdEnG/+QDBO2oKl8tlsYKcuRyyXGA=; b=COTV+yqyV/vjmpphS5bg86iQcn88p1NHGeI8Epg0Dcsk9reK6vvj1XVJionLRweI7oggNCtILei2Bcgv9sXnxWKHXiCRewFZnZ9BnJh0iPSa/lMBtuNhJWRtV0BdyzaTm2gxHaYSq3l1Q5Tg63iFyies/As6kf4PCc2HxnhJnvA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 172571960327945.426004407423534; Sat, 7 Sep 2024 07:33:23 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 3779D17DB; Sat, 7 Sep 2024 10:33:22 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 482521890; Sat, 7 Sep 2024 10:32:11 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id E6B3518A8; Sat, 7 Sep 2024 10:32:06 -0400 (EDT) Received: from relay.virtuozzo.com (relay.virtuozzo.com [130.117.225.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id A4FB19BE for ; Sat, 7 Sep 2024 10:31:51 -0400 (EDT) Received: from [130.117.225.1] (helo=vz9-barybin-2.ch-qa.vzint.dev) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1smwR8-001ZxE-2l; Sat, 07 Sep 2024 16:31:45 +0200 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=V8ZMS+JKWpKXajYkP2ziL5RUSgqsfOF2Y4VPlCK9cvQ=; b=DSN416g6ofKF aLzZ0mHyNiQHox0R7Y2tCz/hTm803JiK1rFN1/ORWwLQUYUj3aRZZ5XgX8MUq2qRT329Ivj+R9hTK nEWFA2s0U5z4jQsnExAm5RXd5W4bzty9HueUIjBCwQVCYHm/HiOQWB/uFAR5ueZ4zaBNt4qOYx2p8 epIsoFkqQ6D2aJIPN7ZaIItNa2+1AOzT75IPiTJQpsMCJfF0dzZi+iOzmPxeJU0DQlit/HtztwGHE fKhciUXNOdP4IuERUyCFOt+lTtJmKP5qg/G0+73uY/w8aF/YUE6NoPyWRZh8q2z+Xo9EPHWM8iBBq cO1G7jHEVGDmupJTr6Lx2g==; To: devel@lists.libvirt.org Subject: [PATCH v2 07/13] security: apparmor: handle qcow2 data-file Date: Sat, 7 Sep 2024 17:15:29 +0300 Message-ID: <20240907143006.50677-15-nikolai.barybin@virtuozzo.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20240907143006.50677-1-nikolai.barybin@virtuozzo.com> References: <20240907143006.50677-1-nikolai.barybin@virtuozzo.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: Y5UGQX5NRYJAMPBIP5XCB55ZEEUNDZQM X-Message-ID-Hash: Y5UGQX5NRYJAMPBIP5XCB55ZEEUNDZQM X-MailFrom: nikolai.barybin@virtuozzo.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: den@openvz.org, Nikolai Barybin X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: Nikolai Barybin via Devel Reply-To: Nikolai Barybin X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1725719605095116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Nikolai Barybin --- 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..4e8334eb3e 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; =20 + if (src->dataFileStore && + storage_source_add_files(src->dataFileStore, buf, 0) < 0) + return -1; + depth++; } =20 --=20 2.43.5