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=-7.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 88E84C4363D for ; Wed, 30 Sep 2020 20:45:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 443EF2076B for ; Wed, 30 Sep 2020 20:45:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="N1JSnjgI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730009AbgI3UpG (ORCPT ); Wed, 30 Sep 2020 16:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgI3UpG (ORCPT ); Wed, 30 Sep 2020 16:45:06 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 937DCC061755 for ; Wed, 30 Sep 2020 13:45:06 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id 34so1847388pgo.13 for ; Wed, 30 Sep 2020 13:45: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=JgQmmymEepmTyKfdtmZJjASTO5kyTURiWqToh5meDKE=; b=N1JSnjgIbsN1xv7O/7f3T3QNscpYc+Oc8Onavg+xJhKmu87Vl5txC0mRnj581yP+T5 vji39GuQ54k3KnvTyItbHHJyjV7n/9yiIdpidKzXo0JDXhzi+h96aiFk9fi64j8d2bCt gMDMVPAGpbUo9icFxVDwyRsfPfCjPc7VT3l7U= 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=JgQmmymEepmTyKfdtmZJjASTO5kyTURiWqToh5meDKE=; b=gNnJbKZrpU8hbylXC1GaIvymglJV3TFO9DUoTlj8gEgumxFC9fezAoqfPRGemM/Gh4 ZhaU+Mx5tTwjvc9R8FkDKylhhAiHF/tHSKRag3olqoZxUMc8m09ZeoBEyeo3P4OeQ7Ee yXu4vAPYUM51nQ+LbSyu3PQK7LD1bqrgysDIusul2SWVgwsmUV4N4xUs8toDtFkuUWhN pfkw6/f9d9EzMvxyB9c9eXw11CCH2EUSVqqp1kHRnCY/AEUtc1rlxNV9TqaC263C0QQX pFWGUgqWX/1daKUCSdyewrnP1vbWvqRl/dsitgW4KOOe6eCbazW3BG6U0QGuGfi0heoI QBAQ== X-Gm-Message-State: AOAM533Kb3ez5VlRxn4YEpTdWvRhejrGLSs7okpMkpCADX8K8UsfRbeZ KeRGtn+GPlsD/aGRwB98pAPM+A== X-Google-Smtp-Source: ABdhPJwj25UpjOCh8s4y4qnI0EKHGhfilZz0SCC4DlHMi6btWQ6hwRXxTigXsih3jOgTEpH2lz1kwQ== X-Received: by 2002:a63:4d4a:: with SMTP id n10mr3430255pgl.96.1601498706030; Wed, 30 Sep 2020 13:45:06 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id g24sm3730158pfk.65.2020.09.30.13.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 13:45:05 -0700 (PDT) Date: Wed, 30 Sep 2020 13:45:04 -0700 From: Kees Cook To: Sami Tolvanen Cc: Masahiro Yamada , Will Deacon , Steven Rostedt , Peter Zijlstra , Greg Kroah-Hartman , "Paul E. McKenney" , Nick Desaulniers , clang-built-linux@googlegroups.com, kernel-hardening@lists.openwall.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v4 10/29] treewide: remove DISABLE_LTO Message-ID: <202009301344.3949D2FA8@keescook> References: <20200929214631.3516445-1-samitolvanen@google.com> <20200929214631.3516445-11-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200929214631.3516445-11-samitolvanen@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org On Tue, Sep 29, 2020 at 02:46:12PM -0700, Sami Tolvanen wrote: > This change removes all instances of DISABLE_LTO from > Makefiles, as they are currently unused, and the preferred > method of disabling LTO is to filter out the flags instead. > > Suggested-by: Kees Cook > Signed-off-by: Sami Tolvanen Thanks! I think this makes things cleaner in the later patches. :) Reviewed-by: Kees Cook -- Kees Cook