Received: by 10.223.185.116 with SMTP id b49csp2918581wrg; Mon, 12 Feb 2018 17:54:09 -0800 (PST) X-Google-Smtp-Source: AH8x224CkiBiPpjR2BdlNQ3Hme1C6s38qGSXUGCCOrEMBZ7EYiqyg5rVztXO0Pk5EdWYmUmmvCTm X-Received: by 10.98.31.91 with SMTP id f88mr13641778pff.134.1518486849617; Mon, 12 Feb 2018 17:54:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518486849; cv=none; d=google.com; s=arc-20160816; b=qRoMyeX8wJbnO94McZfAQqaDWCBPzOM7NOirzNQvsiatOs/TGnZhvAntpAnYuP4jNV cCY2+8FGiFYm1oqY4Gy7JnuUcO7ERL+wvFsryMpIxbfgnCESL/yVgYeWosaLs7exFMLo fuqu29Hh6VsoCKxidPTBto9d+3rqXJ5v368i9cfP9lzicxk5Zcc68YTiC/qGva48p1Vm I0UTI52+FIWtg2fwAhABjOOEtTC08hWjjCTYdJ5WmqeMeOi7mIA8oIaIEzBrtGjUf8MU l0p51v/o6e+HZrPr5dJ7FsAgHNVRxqhy+Uy+Hv/nbOlXCHYAlV5i905+xivfq0NV6+k4 fl6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature:arc-authentication-results; bh=4MfvqemmosT/ay6A1TW3SAUIP61pcQFsaS5a1wXN7sM=; b=NASMcvrYFCkxkxH1i7Qf5MwPmhmKKlTeMWbvWgusAAtZRqrUXj5t1hdIvrC9/n6ZkD aXJbmBWQNmL2WbkxGhKf/3RYjgEFQa0FTK6EHUc7jcmuCVu9UEOL7pwiFxoUxLBT/vi+ ePeME4n1DfZAJ5jMSqSzqqZ7cJRS5FgTEu8bH1JiO8gNZ/gpHCV6e5j1lKn0hb9S347R prXeqjKU6Ljefp/BI9HRusn2qjPDx4lcq06cT/60mukAzwH5KiVQTn5AQ2EoY53MP+DM YocyN3zr5V7G/T4qYVMQ5eXmywoo/6ldX50SQ8zZb5amndpS1h1xRIqWR3nth2dcgJkZ NUcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=Y1G9rnp7; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mWNWxoUi; 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 b25si442973pgf.488.2018.02.12.17.53.55; Mon, 12 Feb 2018 17:54:09 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=Y1G9rnp7; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mWNWxoUi; 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 S933238AbeBMBxO (ORCPT + 99 others); Mon, 12 Feb 2018 20:53:14 -0500 Received: from casper.infradead.org ([85.118.1.10]:51478 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933047AbeBMBxM (ORCPT ); Mon, 12 Feb 2018 20:53:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4MfvqemmosT/ay6A1TW3SAUIP61pcQFsaS5a1wXN7sM=; b=Y1G9rnp7DJ0BuRMWrjR+SnZkos pNbw2kZHmbh5NPWpxhOKOflKCqIZV0euG1cG7ECsL1ZDA00TqLtA0H5qzNG67EWqW3XiLb0YxZ1YO uHrOO+z3mSygtT95HfT7on0ikbpgCTBPDr01pd2lbFU/emeFVfLk+FUngBnJOEd+GOxJGYFnkzpa9 3MHujI8Q2+/9wckzZfxxozrfF5htoSAWtZQSoxNza0TM+vO1k6tJRsOGElRKVt0IGHXqkbHVwb2G+ y6TtZDnqUWayI0ySDd2YRcmezGO6sONgdqNQwqotQ6465C94aVKN0Uh+cuQ+Yq2HN1DKS1WVLgseE jJ/RF1tw==; Received: from bombadil.infradead.org ([198.137.202.133]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elPmO-0004Ek-5d; Tue, 13 Feb 2018 01:53:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4MfvqemmosT/ay6A1TW3SAUIP61pcQFsaS5a1wXN7sM=; b=mWNWxoUiqvgixjq4zlIVs83qo KJ8AXgYbSFnBpoWf5W/bCNhHHKIJ3ZMTbbpyDZtQs6FRh1FW2t/TRan3U6CarISks2LnFhDsAAlzU Vm5PJ8tGUMGE/L+/l8TuxklEycFpU6jNSqGHmZARpN7SIhi0bL9K2PITaVxPKi//0cKWRAl1ktKVq txUNS3hVO84HljBdUCb9YLGxK7pVJdYj4UATUJ8Ebt/zTxFYYj/58OiYCfbf+1RlvSSsZCbADWzUd g/pQk44FpAbSucuetT0J204RUyFw9HYp7x23bxMcXv4zLVcfWzm0JKYbRhSFQpG7ksRrs1ViK0HOL fdTzalSXA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1elPmM-0001BJ-Pm; Tue, 13 Feb 2018 01:53:06 +0000 Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: Masahiro Yamada 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 References: <20180210054843.z3g7wvcmlccvww3h@huvuddator> <20180210074924.3nhxsza5zdbaahxx@huvuddator> <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> <20180211103432.pf2ot6nd7nbhdhsy@huvuddator> <49c196ec-891d-2030-bd6c-7222feb22059@infradead.org> From: Randy Dunlap Message-ID: Date: Mon, 12 Feb 2018 17:53:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/12/2018 05:41 PM, Masahiro Yamada wrote: > 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. OK, I misunderstood. That one can go away IMO. thanks, -- ~Randy