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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D00D6C19F2A for ; Thu, 11 Aug 2022 15:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235683AbiHKPas (ORCPT ); Thu, 11 Aug 2022 11:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235788AbiHKPaI (ORCPT ); Thu, 11 Aug 2022 11:30:08 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BA0D95687 for ; Thu, 11 Aug 2022 08:29:42 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id s5-20020a17090a13c500b001f4da9ffe5fso5711628pjf.5 for ; Thu, 11 Aug 2022 08:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=k4cTJcWzw8+6axf00iGx7biHKXUEGT3Ofca07ePg5B0=; b=e8WRD+IbMXLxt0XX5XAhvJBvN5jLNJ8ZUx93+YW8cz7r7GCpyryYTdJ+UJNUPY223r zzoPmw6xUn3VMbJuI2F2ZSeOhIbrKmiX3G9mhH6iyovCbNm2Puhe2oTBwUlY5OL7qfj2 sQGEp1yOeNmSmYqyuuyL7LSmz37k/frFxM+oU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=k4cTJcWzw8+6axf00iGx7biHKXUEGT3Ofca07ePg5B0=; b=AwFmQ2wUNObbnfn6hnoi2cIoZaIyG9YfrKgioF8cDFUtTIlqxzEKf1kDmGOjIM5ee6 gUwUcR7fJQK/kC/W99L0ivibKlGkKvscf5pAabtMRQ3QioNyJtNdlMs+oh1IPI2tDNDr m8u6D280EVKgndRFMrG/JTVRbJoOO97EhfQBSBTmoEoKeT2f75nSMXf+QxNpvyLuW3t8 fKQp1YawT/+A9gf8uwU5CHfnQ8xlyG5z4+n7eWc3ZRfKuPsalPn5wQf5/FwEOq+gQdvu bMbp7FSCD7EYmlZ+NBOMnsMwSkCAHbnsGe4ZRzlfJ2GOXHbFmrJj8Y6k5PrvXgadAIoy YHng== X-Gm-Message-State: ACgBeo0MTKggW8CZJzqAvDaZ2XNDr/I19N7UIXJvcrNBvq2B0ny7uajH b5O1HDeYr54HhqR2cSbCLoMqYg== X-Google-Smtp-Source: AA6agR5MDAoWj07mo8Re6bJHCK/lTI2S9VYB/kjpRf71aZeSVUXPPLyCezVqfrd1Gs3g5Ty8PSMb+A== X-Received: by 2002:a17:90a:55:b0:1f7:4513:8cac with SMTP id 21-20020a17090a005500b001f745138cacmr9192293pjb.93.1660231781372; Thu, 11 Aug 2022 08:29:41 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id w9-20020a1709026f0900b0016f1204cde8sm1985339plk.301.2022.08.11.08.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 08:29:40 -0700 (PDT) Date: Thu, 11 Aug 2022 08:29:39 -0700 From: Kees Cook To: Arnd Bergmann Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Yoshinori Sato , Rich Felker , Richard Weinberger , Anton Ivanov , Johannes Berg , Chris Zankel , Max Filippov , Andrew Morton , Arnd Bergmann , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-mips@vger.kernel.org, linux-sh@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org Subject: Re: [PATCH] treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y Message-ID: <202208110829.F82D003490@keescook> References: <20220811114609.2097335-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220811114609.2097335-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org On Thu, Aug 11, 2022 at 01:44:34PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > CONFIG_DEBUG_INFO is now implicitly selected if one picks one of the > explicit options that could be DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT, > DEBUG_INFO_DWARF4, DEBUG_INFO_DWARF5. > > This was actually not what I had in mind when I suggested making > it a 'choice' statement, but it's too late to change again now, > and the Kconfig logic is more sensible in the new form. > > Change any defconfig file that had CONFIG_DEBUG_INFO enabled > but did not pick DWARF4 or DWARF5 explicitly to now pick the toolchain > default. > > Fixes: f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable from a choice") > Signed-off-by: Arnd Bergmann Thanks! Reviewed-by: Kees Cook -- Kees Cook