From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5F43C433E0 for ; Wed, 13 May 2020 16:24:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0A1A20671 for ; Wed, 13 May 2020 16:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589387045; bh=GMIEwlaUuMOKi5AkDYUqDh+tZ9JXGeSF/BENEVLdelE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:List-ID:From; b=w6/2kHhpUk6aOxyiPSdFfeI2EQdmbiq0ntGmNtG3rP6sEUQCeqFuuPA6htNUkYHqg MqgaUEO3v0UN5WUBp9FGMSaVfldorJe+FBWJ+cCXbAeaX8+HsVnU+3LBlUGKt7sLvp Iqdk+1+GLQutpXv0wRTGZJ+8gOzINFagU44nthSw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731549AbgEMQYD (ORCPT ); Wed, 13 May 2020 12:24:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:41734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732380AbgEMQYD (ORCPT ); Wed, 13 May 2020 12:24:03 -0400 Received: from localhost.localdomain (pool-96-246-152-186.nycmny.fios.verizon.net [96.246.152.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 00E8D20659; Wed, 13 May 2020 16:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589387042; bh=GMIEwlaUuMOKi5AkDYUqDh+tZ9JXGeSF/BENEVLdelE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=O2CCNQtPLWuis6Iyzz3t9LE9/0N1orztrF73b2GHGrbexfrSZMT8U1JojVtMomoti 4IWbO2zbjaT+y5cJm/QTf5h8Q0wwikUv/jNNnCpLz84UNFT4gDGcQZaIiYJsKfrFCx p/BF5chqdi5380TQ6UASs7NhMo537xeK2eTcgF54= Message-ID: <1589387039.5098.147.camel@kernel.org> Subject: Re: [PATCH v5 0/7] firmware: add partial read support in request_firmware_into_buf From: Mimi Zohar To: Scott Branden , Luis Chamberlain , Greg Kroah-Hartman , David Brown , Alexander Viro , Shuah Khan , bjorn.andersson@linaro.org, Shuah Khan , Arnd Bergmann Cc: "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson , Andrew Morton , Dan Carpenter , Colin Ian King , Kees Cook , Takashi Iwai , linux-kselftest@vger.kernel.org, Andy Gross Date: Wed, 13 May 2020 12:23:59 -0400 In-Reply-To: <20200508002739.19360-1-scott.branden@broadcom.com> References: <20200508002739.19360-1-scott.branden@broadcom.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Scott, On Thu, 2020-05-07 at 17:27 -0700, Scott Branden wrote: > Please consider this version series ready for upstream acceptance. > > This patch series adds partial read support in request_firmware_into_buf. > In order to accept the enhanced API it has been requested that kernel > selftests and upstreamed driver utilize the API enhancement and so > are included in this patch series. > > Also in this patch series is the addition of a new Broadcom VK driver > utilizing the new request_firmware_into_buf enhanced API. Up to now, the firmware blob was read into memory allowing IMA to verify the file signature.  With this change, ima_post_read_file() will not be able to verify the file signature. (I don't think any of the other LSMs are on this hook, but you might want to Cc the LSM or integrity mailing list.) Mimi