Received: by 10.223.185.116 with SMTP id b49csp2783538wrg; Mon, 12 Feb 2018 15:49:06 -0800 (PST) X-Google-Smtp-Source: AH8x226/cc5foABK8szBfY4OPWRshJ3OeiUyN+ovRUB7T/OWWMtb3xNpjEjw0MAhIIOBDKRvOfab X-Received: by 2002:a17:902:7082:: with SMTP id z2-v6mr12366724plk.244.1518479346362; Mon, 12 Feb 2018 15:49:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518479346; cv=none; d=google.com; s=arc-20160816; b=SGYi2dGPmeGuOFPuSyROCprjb1lT6D7+wX7YboCKGbB9M8ZGoPCpYZv7uMlZXBsdNx ieeIHVrLenoZxBEJ9UUULMlfOVfn1s2eXZROyKA/GU8WlU0JH5aU6RTt5EhYgY4HO9E/ XM0pmd/YYXUDQ8yF5XMJ9X3U6W/p52zyUoFveOGFG3jDoBR5Ic9Mo0tFjLlI6KI/0mO2 0R2OmJgDOIfUBPAEb5hR4GOBvSLmPbUBPtBc2GPLKB8ehT9PsH8078XBjk6x17zl1CtH fix8J8SrzOxDiO19KT5lNHySqX3iObvmQBDbZweL2Qwe4o+H3GRyxTGmdx2Qx/d8+ru5 HT0Q== 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=CKzLEX+1IoPLCU4FY5vBBMod3aHY+Zh/htPul3l4wno=; b=wJg8C+8au+swcdsei9AJFxqRg/QSwWDpEv8W7/4IuIKd4mlQsUcJLI4NA0KWvwNJXG NmlGO8zvoR3iIfSKHWKhz8S9lvmItmqtUIAb+i3dQvcvObZjEx0SuGha9JywXlBCOsHs nuVnGlJTGUEOmp0S0ECjIT90ZpSl+WfZOuM6+BlTE6P5H/uLaHq+YsMFDBEdMNNE8sMu NOIzkNd6PgjvmHEgwqI5pC4/DUp8SG+bBsar1KIN9n3UKOlGcZHEeZi0gZg4ANYyDe+T Daj/HfQ74Rm6+D9+3Guh1YupXSIJBj2R1qhmE5ffYsfXBxiq5SCd1maa4CI890wSnx5d BuvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=G+pJS6Ew; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oNKSOdGl; 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 w9-v6si4389412plp.58.2018.02.12.15.48.51; Mon, 12 Feb 2018 15:49:06 -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=G+pJS6Ew; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oNKSOdGl; 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 S932744AbeBLXsM (ORCPT + 99 others); Mon, 12 Feb 2018 18:48:12 -0500 Received: from casper.infradead.org ([85.118.1.10]:51628 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932378AbeBLXsK (ORCPT ); Mon, 12 Feb 2018 18:48:10 -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=CKzLEX+1IoPLCU4FY5vBBMod3aHY+Zh/htPul3l4wno=; b=G+pJS6EwPBwhsP1JjBg05RV8HK Oclx8yfievrSPzAjd5G+OmW+LCfNmqK8PuwtgbkqH4QoqTGFBRIBkT3rUpA9u+KNu1kx4JHKR889/ GRjLRA7QiI8RG6R3zUkE8+3jeKpqUywZmYKDtKRJRL8yJhQLYSDPf223kt+SWkCPwT5KeW5REjN6D LiMsDGOed7wpSQX/U+9AJc5NYrEluPFcUjdjcUUnaYxIQufmrIq9RCQKM0/P93rsBCQ6wvlAHaBWe hVunuHg/mxljUUINKt6bt8COxHumjaoW3sx06KhhsvhLq0vXhYCnBSBJDJEupwUi0cV3WVysXVSk1 2t6XcKfg==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elNpN-0007Ic-B2; Mon, 12 Feb 2018 23:48:05 +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=CKzLEX+1IoPLCU4FY5vBBMod3aHY+Zh/htPul3l4wno=; b=oNKSOdGl4FaJRQ9wyQTtSPyHy XfWuTrTgNh74/fHeKcIk308OEM+jwsqNDueiUxwd4/QzXf/U2FrdV4XS7QWVzzRJFhhP7lnt2s3W6 cyIa3nLfm0bYYKq2ml8lwb6qNcnk6KMuV441Ws3ORAuC54V/G8OPpMYP3ppMa7QapZlvsRcbsKH7e uncneM+ORna3mO10GrskbXTaOIO9yLwzTsUb4YhVpOr/55k5XBP/NyVU3Go+RODgiF10LRMXx9aij MCdfn0oy5HEIHPzGOZsqpYUp65oK3OFJlhnL/3h4Y0jVwwbnsIUmSGKfwQzpGFOn2L5W3mjQz64zR Z5lM6W3qQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1elNpL-0000QW-Ut; Mon, 12 Feb 2018 23:48:04 +0000 Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: Kees Cook , Masahiro Yamada Cc: 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> From: Randy Dunlap Message-ID: <49c196ec-891d-2030-bd6c-7222feb22059@infradead.org> Date: Mon, 12 Feb 2018 15:48:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.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 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. >> If we continue to support this, $CC changes >> according to CONFIG_CROSS_COMPILE. >> Then, compiler flags must be re-evaluated >> every time a user changes a compiler in use. >> It will introduce much more complexity. > > Right now, this is just handled in the Makefile: all the right > variables exist, etc. > > -Kees > -- ~Randy