Received: by 10.223.185.116 with SMTP id b49csp2908346wrg; Mon, 12 Feb 2018 17:43:32 -0800 (PST) X-Google-Smtp-Source: AH8x226qDx2FAgSvGkNUQs86peuuThfD2Y6f2aQoaP4ph78dtDrDZTq63tjO68ruaV5O4DomCvXo X-Received: by 10.101.97.5 with SMTP id z5mr10629698pgu.270.1518486211890; Mon, 12 Feb 2018 17:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518486211; cv=none; d=google.com; s=arc-20160816; b=fEIg3SMgmPB+910x1jmJ+9uUxGCg3/jiB+6XhH7iUqeqpomQPJsE9ptPodeFmlmUfO CTeFrdqP/0tu9F6dr0v4foN7xJ5XvAysOs7ytGtWXvJ1LLYpNqAJJeloT8weIAGBczeI bU+flOrGKVnYmedDdXQEp9fMGEIlEvCsWG97Sj+1u7PcwFSUlWEgWrSadgF/hwQrcG92 xjXb2U4UTuBJnsOA9BnR9jwVe1IHHAE7Pf4VYrjjgibivdkB+IYk1kniMOYKijj/Tq0g 5lHh11OUQ9Y/m5hdweoxgWmc7zl3G121PXzGlRJqLZSRjWaUeJkj2I1LCLiorX8bBLxn D2EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=7pWLeBqbqA4MtDq7REe3kbcdc7YY3qX7Gz7g58Ai8MM=; b=C6nyOEHx3nHi1aVP9s/8zAV5UBgDJaNosbrKodqcv9m5Ymx4uNVJUjYx70BzULLwdg BBWvYnsKpkp/wQClElPIL3mtnPzSMiao4Lh8b4Sp6K10C3JtCQC9RkmNuh581pnIcrHU XeT3+Bu4a72suXmq2UScC/4cqJYpo/KLaKA9JE/abduq/ja2Jf6s71M2hwnVEia51g9+ 2UVrzqIfyOTHc9XwZfWFiCJJPtTTNIBdROIcv8r/GxIsAlAeTYwJ8eL8YEaCTU7MMHdR j/Ov2WrFCiy9smHiFGveGJEHkaUa7hA6QIfEOYP8OFIPSLGilrLysIvAPWEO2zMzv+53 qy1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=SSVKud3v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i194si577724pgd.511.2018.02.12.17.43.17; Mon, 12 Feb 2018 17:43:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=SSVKud3v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933254AbeBMBmQ (ORCPT + 99 others); Mon, 12 Feb 2018 20:42:16 -0500 Received: from conssluserg-03.nifty.com ([210.131.2.82]:30278 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932886AbeBMBmP (ORCPT ); Mon, 12 Feb 2018 20:42:15 -0500 Received: from mail-ua0-f182.google.com (mail-ua0-f182.google.com [209.85.217.182]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w1D1fp1G030027; Tue, 13 Feb 2018 10:41:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w1D1fp1G030027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1518486113; bh=7pWLeBqbqA4MtDq7REe3kbcdc7YY3qX7Gz7g58Ai8MM=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=SSVKud3v9cGIbA7BkbQCbSnRecPk1hrAGKbom5TLbz0M5GGo13qg+60w1oFdHAK9r bpNOqdcOveQn1FAghRi8USGAMrO/86Gwk32Tmbh9apis3F0EmO2qQmgZvlcf49W8n5 1XiJkibBiqLAw4g9bVyfrNS7Y8VN5KBei3t4mEbEyFeLLwi2Br2+fGN1VAxN7dj77/ ZQbArSmhhEG1tlr/M094CyVRo9cu2NH6dknmw3U112sgP61gkAa6GkSl1agepky709 yDOgFPYg5sjSUpLM62noFB965LpkqiW+IoCAFStfNSr/UgeC8v3bLWIVUj4VAvpV7z 6k1Bl9sObGQ0w== X-Nifty-SrcIP: [209.85.217.182] Received: by mail-ua0-f182.google.com with SMTP id n1so10657637uaa.2; Mon, 12 Feb 2018 17:41:52 -0800 (PST) X-Gm-Message-State: APf1xPD7hQks2E5bM90Fh2savPl3M//aCUD+ub+eGRo7eZwdKHUVHfsd q3CXgxxkUKbSUgFfQSw22OgOeHgWSplWz+3yv8c= X-Received: by 10.176.73.39 with SMTP id z36mr13800247uac.6.1518486111387; Mon, 12 Feb 2018 17:41:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.83.212 with HTTP; Mon, 12 Feb 2018 17:41:10 -0800 (PST) In-Reply-To: <49c196ec-891d-2030-bd6c-7222feb22059@infradead.org> References: <20180210054843.z3g7wvcmlccvww3h@huvuddator> <20180210074924.3nhxsza5zdbaahxx@huvuddator> <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> <20180211103432.pf2ot6nd7nbhdhsy@huvuddator> <49c196ec-891d-2030-bd6c-7222feb22059@infradead.org> From: Masahiro Yamada Date: Tue, 13 Feb 2018 10:41:10 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: Randy Dunlap Cc: Kees Cook , Ulf Magnusson , Linus Torvalds , Linux Kbuild mailing list , Greg Kroah-Hartman , Andrew Morton , Nicolas Pitre , "Luis R . Rodriguez" , Sam Ravnborg , Michal Marek , Martin Schwidefsky , Pavel Machek , linux-s390 , Jiri Kosina , Linux Kernel Mailing List , Tejun Heo , Ingo Molnar , "Van De Ven, Arjan" , Arnd Bergmann 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 2018-02-13 8:48 GMT+09:00 Randy Dunlap : > On 02/12/2018 07:24 AM, Kees Cook wrote: >> On Mon, Feb 12, 2018 at 6:39 AM, Masahiro Yamada >> wrote: > >>>> (And in thinking about this, does Kconfig know the true $CC in use? >>>> i.e. the configured cross compiler, etc?) >>> >>> I was thinking of removing CONFIG_CROSS_COMPILE. >>> >>> A user can dynamically change CROSS_COMPILE from >>> "make menuconfig". >> >> Most builds I've seen implement cross compilers as an environment >> variable during all "make" invocations. > > I agree. I think you would break a bunch of build bots if you remove that. For clarification, I suggested to remove CONFIG_CROSS_COMPILE. The following code: https://github.com/torvalds/linux/blob/v4.16-rc1/Makefile#L315 https://github.com/torvalds/linux/blob/v4.16-rc1/init/Kconfig#L58 I hope build bots are not using this. Passing CROSS_COMPILE via the command line, environment is still supported. -- Best Regards Masahiro Yamada