From nobody Fri May 10 15:04:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1653294831; cv=none; d=zohomail.com; s=zohoarc; b=YsHiE3f/oBsTivNFjOk2kONHgLkY5zmV7c92eRGzcVZJwoW/i033ieN1/1/V9+Q5a/Yy6As4MVjNIcheTE9r0UmaPYLjcRSXaKs2z7HykD0XcIxnPUupZI+JvPvHhBD35g2gWrRQP07h2njST8Hi46s2YOzlNkaFoCoBVEwBa/E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653294831; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=H7//fhsQ9lLH2nqdivm5AqJmoXT1oLmKtpy+8KkMVNg=; b=BDchPtZLYCWCB51PILipY2zSZ/oV2tTk+g0x0Hd/fH8lLoUGzFNL1157NO7A2GHZBskSVmmfbc4dcNZJ2hs1qKKAJLqUlgwB+TIbw/RrFCqcj1I/i/hwxqvcu+RVLdAYbLcgI3XpUk4kpVnCMk0dvo2b5H4eIPCxCRezNHUm4vc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 165329483198240.18423279109345; Mon, 23 May 2022 01:33:51 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-208-Db3gOcjQMoOJRGvctyfK9g-1; Mon, 23 May 2022 04:33:49 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6B0DA3C02B7E; Mon, 23 May 2022 08:33:47 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8985C40FF401; Mon, 23 May 2022 08:33:43 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 58FA6194705A; Mon, 23 May 2022 08:33:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0F7311947059 for ; Mon, 23 May 2022 08:33:41 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id C2211492CA2; Mon, 23 May 2022 08:33:41 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.40.194.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 48119492C3B for ; Mon, 23 May 2022 08:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653294830; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=H7//fhsQ9lLH2nqdivm5AqJmoXT1oLmKtpy+8KkMVNg=; b=IC4BhnJGpq/cFX1UbC8n3ROzrDYgHkVfvHeLIRcqX2bsPNsaJDeNTx6POg0Ay+O5/fI6Ka CFsQaL7OoNcFU9MkNg8EZ4AX/G4ExD4edIMIibqBPKacv4agGQgwmjPF4Z8yg+6aziDDKD HIaZ7xFsnmCwHusk6436QrZLc2Ga9mM= X-MC-Unique: Db3gOcjQMoOJRGvctyfK9g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] apparmor: Enable locking AAVMF firmware Date: Mon, 23 May 2022 10:33:39 +0200 Message-Id: <20220523083339.12383-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1653294833031100001 Content-Type: text/plain; charset="utf-8" We already allow this for OVMF. Closes: https://gitlab.com/libvirt/libvirt/-/issues/312 Signed-off-by: Andrea Bolognani Reviewed-by: Martin Kletzander --- src/security/apparmor/libvirt-qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/apparmor/libvirt-qemu b/src/security/apparmor/lib= virt-qemu index c29168da27..02ee273e7e 100644 --- a/src/security/apparmor/libvirt-qemu +++ b/src/security/apparmor/libvirt-qemu @@ -78,7 +78,7 @@ /var/lib/dbus/machine-id r, =20 # access to firmware's etc - /usr/share/AAVMF/** r, + /usr/share/AAVMF/** rk, /usr/share/bochs/** r, /usr/share/edk2-ovmf/** rk, /usr/share/kvm/** r, --=20 2.35.3