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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 79CFDC433E2 for ; Fri, 4 Sep 2020 18:22:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CCF6F204EC for ; Fri, 4 Sep 2020 18:22:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r3f/JfEB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Il3Jp+Gb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCF6F204EC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ShNZ+l5Cz6syZrOlVE6mQwk090/N/eL8WJioNqsfzcQ=; b=r3f/JfEBOITjqyqf94ZemU3+S TGbr7pBGdj30+LI7MNKAGJfYc4P+8T8Wgzq3P/f2TUGvaQ5Ehk6UfRgt++CsqzOLAap/tdj6MKEq0 TBAE5UHJd6Bd1tdGf0vCMnhtkg1qnsqPdUjNshCbi+ULQsREui1Cwdy+ZYRvpmMeUKAcsZk1BxMy6 +BUr4/FjLnlhrREuursD3bHytjVVcX6GRiFfEILssi+ZyMcWJ7r5E0YUi+pIWaOOxvlMcBUosJm2h Xwo+LYP7m9HfnwJ+iBekZ+tfKa9s2lwVSbFQiEAdXJMpD+W+m9K5LAVKD684QiNwjEpbAEwzeQz0j 6KctZFGcw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEGKU-0000gE-15; Fri, 04 Sep 2020 18:20:54 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEGKR-0000fL-6V for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 18:20:51 +0000 Received: by mail-pj1-x1043.google.com with SMTP id a9so383929pjg.1 for ; Fri, 04 Sep 2020 11:20:46 -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=HGsb6HyUfkAH720RyRI2xnBGVpFj14UXqV80lfeeAHQ=; b=Il3Jp+GbZKeQBVyig5AB6ptKPeBzRng/54pElXbWFgDDwVZtfonwW/fIvn12LwA16M q+/RGW9N8udNPgZyH15iLM+vRSiGyHrin+pGX1aElmkbmidG8ekkDrYXabwm5ci/epUm czoHI1JGeVOuHvY1/0vF8Z8gvengMt1dzX9XM= 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=HGsb6HyUfkAH720RyRI2xnBGVpFj14UXqV80lfeeAHQ=; b=GrX60Ry9h8GDtyEqULVOQwrOskC0XJ/f6XSkoyHbWQ2VoBveO+uDSAh14amOza+hiI Tj0yrrlkLHZ4h7Z/KBO7OfrD798GZD9WA6agSld81r1/2dntyyd4CXYJqt4hcUb4uIow G3JlQvU7TZAlxIVGmfF0pprMFbXRv0GljYQkZzmHgoTKnnoGL+8nQNq+t+8vEQEm0rsh i8GFQjnNmKDGlE7h9zDahYZ73f4109mUGIJMI1Stu8WP3NUUCRc3QMnSe8+1MLeGGXIh VZnKTuB+bNPkfxcebSq/unH46irJEw+XA4kpkYGdAXcCcowRZc920DV/4j2Gj6SdQBzD yiEQ== X-Gm-Message-State: AOAM530VHGjnpo4aHTGpmanj//KD9xij5WlFfg0DdQjC9fA382qphtV4 oa46WCjFVCWTjaw6zVjIMXrZrw== X-Google-Smtp-Source: ABdhPJw3OHa/KfnDP1eX5u9yPnVXyHpsyvjqvNAIiJCIEcH0n6a9Xn4DsL9UahB90tHSeMz9ICNHhA== X-Received: by 2002:a17:902:bc44:: with SMTP id t4mr8920312plz.77.1599243645065; Fri, 04 Sep 2020 11:20:45 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id gm3sm5689028pjb.31.2020.09.04.11.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:20:44 -0700 (PDT) Date: Fri, 4 Sep 2020 11:20:43 -0700 From: Kees Cook To: Ingo Molnar Subject: Re: [PATCH v7 0/5] Warn on orphan section placement Message-ID: <202009041117.5EAC7C242@keescook> References: <20200902025347.2504702-1-keescook@chromium.org> <20200904055825.GA2779622@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200904055825.GA2779622@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_142051_266693_7DCDACEB X-CRM114-Status: GOOD ( 20.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , linux-arch , linux-efi , Arnd Bergmann , Catalin Marinas , Masahiro Yamada , "maintainer:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" , Nick Desaulniers , Russell King , LKML , clang-built-linux , Arvind Sankar , Ingo Molnar , James Morse , Nathan Chancellor , Borislav Petkov , Peter Collingbourne , Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 04, 2020 at 07:58:25AM +0200, Ingo Molnar wrote: > > * Nick Desaulniers wrote: > > > 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, will these patches DTRT for the vDSO builds? I will be unable to test > these patches on that old system until tomorrow the earliest. I would like to see VDSO done next, but it's entirely separate from this series. This series only touches the core kernel build (i.e. via the interactions with scripts/link-vmlinux.sh) or the boot stubs. So there is no impact on VDSO linking. > I'm keeping these latest changes in WIP.core/build for now. They should be safe to land in -next, which is important so we can shake out any other sneaky sections that all our existing testing hasn't found. :) -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel