From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Subject: Re: [PATCH v3 3/9] efi/libstub: Remove .note.gnu.property Date: Wed, 24 Jun 2020 08:21:26 -0700 Message-ID: <202006240820.A3468F4@keescook> References: <20200624014940.1204448-1-keescook@chromium.org> <20200624014940.1204448-4-keescook@chromium.org> <20200624033142.cinvg6rbg252j46d@google.com> <202006232143.66828CD3@keescook> <20200624104356.GA6134@willie-the-truck> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404296AbgFXPVa (ORCPT ); Wed, 24 Jun 2020 11:21:30 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB820C061573 for ; Wed, 24 Jun 2020 08:21:28 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id d12so1192729ply.1 for ; Wed, 24 Jun 2020 08:21:28 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ard Biesheuvel Cc: Will Deacon , Fangrui Song , Catalin Marinas , Mark Rutland , Peter Collingbourne , James Morse , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nick Desaulniers , Nathan Chancellor , Arnd Bergmann , X86 ML , clang-built-linux , linux-arch , linux-efi , Linux ARM On Wed, Jun 24, 2020 at 12:46:32PM +0200, Ard Biesheuvel wrote: > I'm not sure if there is a point to having PAC and/or BTI in the EFI > stub, given that it runs under the control of the firmware, with its > memory mappings and PAC configuration etc. Is BTI being ignored when the firmware runs? -- Kees Cook From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404296AbgFXPVa (ORCPT ); Wed, 24 Jun 2020 11:21:30 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB820C061573 for ; Wed, 24 Jun 2020 08:21:28 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id d12so1192729ply.1 for ; Wed, 24 Jun 2020 08:21:28 -0700 (PDT) Date: Wed, 24 Jun 2020 08:21:26 -0700 From: Kees Cook Subject: Re: [PATCH v3 3/9] efi/libstub: Remove .note.gnu.property Message-ID: <202006240820.A3468F4@keescook> References: <20200624014940.1204448-1-keescook@chromium.org> <20200624014940.1204448-4-keescook@chromium.org> <20200624033142.cinvg6rbg252j46d@google.com> <202006232143.66828CD3@keescook> <20200624104356.GA6134@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ard Biesheuvel Cc: Will Deacon , Fangrui Song , Catalin Marinas , Mark Rutland , Peter Collingbourne , James Morse , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nick Desaulniers , Nathan Chancellor , Arnd Bergmann , X86 ML , clang-built-linux , linux-arch , linux-efi , Linux ARM , Linux Kernel Mailing List Message-ID: <20200624152126.nVC3rXOBqZD92vBdB4G3KPFBItze_PPOH7hm8Fwg8iY@z> On Wed, Jun 24, 2020 at 12:46:32PM +0200, Ard Biesheuvel wrote: > I'm not sure if there is a point to having PAC and/or BTI in the EFI > stub, given that it runs under the control of the firmware, with its > memory mappings and PAC configuration etc. Is BTI being ignored when the firmware runs? -- Kees Cook