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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 1A032C433E2 for ; Wed, 2 Sep 2020 19:04:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB6CC207EA for ; Wed, 2 Sep 2020 19:04:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iRP4fz5N" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728190AbgIBTEr (ORCPT ); Wed, 2 Sep 2020 15:04:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727949AbgIBTEp (ORCPT ); Wed, 2 Sep 2020 15:04:45 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A4D7C061244 for ; Wed, 2 Sep 2020 12:04:45 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id g29so153565pgl.2 for ; Wed, 02 Sep 2020 12:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mbvYxT8uYxty8dNjUEj6f2xpfkVHdqq7oce2X4nNcd0=; b=iRP4fz5N8zXBPyKNAgNfPmXCcxrmonkm0Os8not5I3SkTH+uCEvtntcSzwpjmUH5Ew fJ53jdwnD1OmSm2/LLlE9h3yEA3384P9xBIx1fM5B8WvPo8eT5i8XW74TzOZSJCiVhIQ t8yPjErzTguaK5SK/lPFV6JrgE+zApxHY7n4T9h0IFgeVDfPSLH9i4Igh1E1y1VUrZdk Qg7e+ShQRcDa4r6b5/n24liH+AW0DosuNG55yaEmh6cl88S64ZokJ0z50525m3rjaIIP mYAZj935dcrmRet9hObLhGeVLVc7w/6Lgr7OBukbh6zJ3YwQfJx6ajWrb4RHKGYufli4 4/3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mbvYxT8uYxty8dNjUEj6f2xpfkVHdqq7oce2X4nNcd0=; b=ZVdnMCJfHxLi/7LzU/cF4B3nGXZ3CbAKfhoTplpu3WtGpb7pCeGWwPnzHIhiiyGGbv kqQ9mfOlRttiL/PuH5M/GFf+etithDfk7L04p4FKNF0IT2IeTXLUAwqdS0TMXELN4lho 7GQ3O85+50FmBnpgZLDgPAZa/QmrBQgMXcoPz55V51wlfBCqac28wwscEXuo20+v5G04 2mVmnzJ6mNdvq0f1I+7IucMS3qQRtuxn1U2lE7rNvsVM0esnes1BbIuvDLm7EHXGLDks 6vrx6+DjQGC3Nv7e+VOTLfT1jeJndh0scnrXKuuwDf3mLWiSwAyy/5M+poRTt+kL9w7F W2BQ== X-Gm-Message-State: AOAM5317j8f9UHJDK4ViSBU/dDSHruvZldOvnrqiI0XWGbsv93uqa+5S Sd4V6DbBuYgWN5AXXgR2grht7DBDxPH/K1PIKvmbyQ== X-Google-Smtp-Source: ABdhPJwtTfyrpkBmwDaLJ+GfXiTisNqMpq2rz/OkurrFhQR8CPZaebvC/gVhdDeDVHmXMpt9IxQQan8xa319O8Ek0ZQ= X-Received: by 2002:a62:1896:: with SMTP id 144mr3540419pfy.143.1599073484594; Wed, 02 Sep 2020 12:04:44 -0700 (PDT) MIME-Version: 1.0 References: <20200902025347.2504702-1-keescook@chromium.org> In-Reply-To: <20200902025347.2504702-1-keescook@chromium.org> From: Nick Desaulniers Date: Wed, 2 Sep 2020 12:04:33 -0700 Message-ID: Subject: Re: [PATCH v7 0/5] Warn on orphan section placement To: Kees Cook Cc: Ingo Molnar , Borislav Petkov , Catalin Marinas , Mark Rutland , Ard Biesheuvel , Peter Collingbourne , James Morse , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nathan Chancellor , Arnd Bergmann , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux , linux-arch , linux-efi , Linux ARM , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 1, 2020 at 7:53 PM Kees Cook wrote: > > Hi Ingo, > > The ever-shortening series. ;) Here is "v7", which is just the remaining > Makefile changes to enable orphan section warnings, now updated to > include ld-option calls. > > Thanks for getting this all into -tip! For the series, Reviewed-by: Nick Desaulniers As the recent ppc vdso boogaloo exposed, what about the vdsos? * arch/x86/entry/vdso/Makefile * arch/arm/vdso/Makefile * arch/arm64/kernel/vdso/Makefile * arch/arm64/kernel/vdso32/Makefile > > -Kees > > v6: https://lore.kernel.org/lkml/20200821194310.3089815-1-keescook@chromium.org/ > v5: https://lore.kernel.org/lkml/20200731230820.1742553-1-keescook@chromium.org/ > v4: https://lore.kernel.org/lkml/20200629061840.4065483-1-keescook@chromium.org/ > v3: https://lore.kernel.org/lkml/20200624014940.1204448-1-keescook@chromium.org/ > v2: https://lore.kernel.org/lkml/20200622205815.2988115-1-keescook@chromium.org/ > v1: https://lore.kernel.org/lkml/20200228002244.15240-1-keescook@chromium.org/ > > Kees Cook (5): > arm64/build: Warn on orphan section placement > arm/build: Warn on orphan section placement > arm/boot: Warn on orphan section placement > x86/build: Warn on orphan section placement > x86/boot/compressed: Warn on orphan section placement > > arch/arm/Makefile | 4 ++++ > arch/arm/boot/compressed/Makefile | 2 ++ > arch/arm64/Makefile | 4 ++++ > arch/x86/Makefile | 4 ++++ > arch/x86/boot/compressed/Makefile | 1 + > 5 files changed, 15 insertions(+) > > -- > 2.25.1 > -- Thanks, ~Nick Desaulniers