Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3078237ybt; Mon, 29 Jun 2020 14:45:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+z/Sgbk+9KiJsvzOHodXj0eqQY6KZhltIUM5GFTJxO4eiMzwnnjg2tyxhtY/nkeccgw3T X-Received: by 2002:aa7:c991:: with SMTP id c17mr12075433edt.278.1593467142915; Mon, 29 Jun 2020 14:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593467142; cv=none; d=google.com; s=arc-20160816; b=WpUvoYnaNYobQL9vodJRNRTlTXdWA6RybleYo1JXzS1F35W4OIa0IB53+Tlt0c7Gi8 8jlMJgLuF6iump2EwZ3yg4p/JW3qM9ylVYCG2Qu+PbguAMI+Sb5bNv5xXWxXlMyt52n6 dlSrrJhlfo8V/ttW91f75FonfBZw6PD2xUgIbMk9zm2NTHIM4iy1wZiaaL6/oxj1gqnm O8Ti2Znk7d/2lgNgJSCbyHacLubzxtNvS/JyGkCCxg89hOoaOA+H0IPK/35fWk5epy8O 3qHM3W7ID9LWVgMnK9J7g4/NfGOHJUsgEnH8U14YBOGZluvsqjelFs9kiboS4QWXXsQc ssUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VLeKruvw8xS/1C0BGsgxQCKuNobKaryrVDfkNcFoTKw=; b=uYgU+49gVYI7cguLNnEF/W4VYH82T2QDtk/dlcwSlbk228IeroX2JiSNxFi8sntcyP L5SHaKyNNtRLCfFfqvuYpYCsxu93FPGRZQsxQw41ZMPvjSTz+apId5pFtVezhsnM0P5+ n54yLc9YSMD1wXAIf2ek8hjAT7xYxLQ19MV8LVdBgzps5cpFdECr+WrpVANcdfyBA4Xc 96gT8abY9JrbHiGudOgM//8eBFfGUgh9hAvjwkv2eDzAZWx77i5p9ysY1sc11Oj4gczo +MZEqf5hUC/4nMsCk1yM2Ul0YmWt8THVuSVAyfTpZkje7UBc5ahAGo86oQVTqfAGpSec ZYvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=i+9UP96B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si526899eja.377.2020.06.29.14.45.19; Mon, 29 Jun 2020 14:45:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=i+9UP96B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728166AbgF2VoF (ORCPT + 99 others); Mon, 29 Jun 2020 17:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727835AbgF2Shr (ORCPT ); Mon, 29 Jun 2020 14:37:47 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4C8C0307BE for ; Mon, 29 Jun 2020 09:10:06 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id x3so2568698pfo.9 for ; Mon, 29 Jun 2020 09:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VLeKruvw8xS/1C0BGsgxQCKuNobKaryrVDfkNcFoTKw=; b=i+9UP96BeuDUndvXAn5oRwVUqCxKPUqo5jb9FpFAkevibF4fOIyewm6LBAtkZLrBzP /7U3H02kF4xz1/F9l3P0SJ2jj2PFznh1x5HDxhs16XUY+e7OWMJgLhbNHwJYVT8KWpee TodpFVlf7IKIfvaTS8QPjZFYeI1/hHcL3q4bY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VLeKruvw8xS/1C0BGsgxQCKuNobKaryrVDfkNcFoTKw=; b=Q440k/y6E7c3jBG0LIB6b9Gr0mSHBjQw3bzPBiLt4T9k9ESmvAG/HdqayEVJjUwuGc fh4d4U1LEZJOb5nvecMBDGUWMdr4GGiWQ1RHftgtu7QatRcilGbDOxAdnzArhCJj7aIB x7xhCflg66T0F+3pJC71HBg1faVZE5MTsGM5lNWwpc2GDuYt42K1DB/2eio24LYfDxjH iyBCxWYGuPlQjVgGE/jSzMJGX9m7TRFbfs6q7XisClhpzeo0B2u5CkaHYokz5qfkHk9H BK3673eJa1oeQ/hnLeTglh6ddlCYHGNonmONPBg6JBeCEwzyp4ZB7yYMI29PyiCYFmTu VCOQ== X-Gm-Message-State: AOAM530SFj0+XxykKDZxSy3GpNztGZWFBjnXOVGg6UbsqqyBl94ep3Qm a9ABZ2JjZXlAqy9cI0HDfew19w== X-Received: by 2002:a65:5649:: with SMTP id m9mr10671287pgs.279.1593447006373; Mon, 29 Jun 2020 09:10:06 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id j21sm176656pfa.133.2020.06.29.09.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 09:10:05 -0700 (PDT) Date: Mon, 29 Jun 2020 09:10:04 -0700 From: Kees Cook To: Ard Biesheuvel Cc: Arvind Sankar , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , X86 ML , Nick Desaulniers , Fangrui Song , Dmitry Golovin , clang-built-linux , Masahiro Yamada , Daniel Kiper , Sedat Dilek , Nathan Chancellor , Arnd Bergmann , "H . J . Lu" , Linux Kernel Mailing List Subject: Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section Message-ID: <202006290909.F79ED275C@keescook> References: <20200629140928.858507-1-nivedita@alum.mit.edu> <20200629140928.858507-2-nivedita@alum.mit.edu> <202006290846.5A5C76A4D7@keescook> <20200629155011.GA900899@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 29, 2020 at 05:51:00PM +0200, Ard Biesheuvel wrote: > On Mon, 29 Jun 2020 at 17:50, Arvind Sankar wrote: > > > > On Mon, Jun 29, 2020 at 08:48:05AM -0700, Kees Cook wrote: > > > On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > > > > > > This is also being done on arm64, and the section was specified slightly > > > differently (with INFO) which maybe should be done here too? > > > > I was actually just about to email you to ask what that INFO is for :) > > What does it do? > > > > It makes the section non-allocatable, so it is dropped from the final image i.e. takes no disk space, but the ASSERT can still be done. -- Kees Cook