Received: by 10.223.185.116 with SMTP id b49csp2399880wrg; Mon, 12 Feb 2018 08:58:25 -0800 (PST) X-Google-Smtp-Source: AH8x226vR7/coxl0TyJWKmMaEzSLHPrVcwgywCKII8J/yRRw7s/BBLFlqn9qGUxUeldfoJH96ja+ X-Received: by 2002:a17:902:d20a:: with SMTP id t10-v6mr7787041ply.257.1518454705431; Mon, 12 Feb 2018 08:58:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518454705; cv=none; d=google.com; s=arc-20160816; b=w9eUd9jnfN4PHHvVr0IWVETWEcxJoH4xPecsPYszf4RuBr40aBgDMq6lD0ReoCyBrT odmlhTZ8o2hXzFRhR6PqoFcZZctIIo+pepFsRtUFn3nMXqUJivJdw1eegsmkvLk/YDR7 L0pEM6FK0/mMBzYZxO82GdcHL0hxze5id1lHaQO4UK/JTfw/21NEbRAqFlDqXPYdWsTG D0ew+bx6BwNEPSkJaikM5Z4mcMZVeih0s8EwLbrCOOGIgeJNzrn4Rz6v8pCTKyA3+lA3 G9UtwH1kZQmlvGVFPqSxIp4qRveYtfiTWE1/LdW3e+TTXAyn+D6k/yBMQrohtHk2gTSo CG7A== 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-signature :arc-authentication-results; bh=hKrluWKUqkvCYAIV93zhDQGOMZ54oQpyH5SjQvvwzLs=; b=pxnqFqX2u3A8ySW2NxVAsaqPN0eGjnG3RlP5TIhtw18WhQmG5Tua5qSiQTwVrWYovd 2TSzOPlz1hqceLocmxWcs9RngUi8we6ysiYI1Id6/uWa0IysWPRXwB0t8mbehbkyFAyW rbYrPQrA0LC9NxCR7F0vioMgEs4Ju5Neag8jfV1HMWUQs0v7afcyH0a/zo3ZRsmeiqPh 5GJSfMCbY4cXXOpC/s4/bn8i4JYfuZ/EBEebDhGbSwOSr1iHfPHrsiS80R4R8pBYzis3 DpGns10P1n12HozY4ySZnLBTSuhpk6HMDNxXaA5Yh/To7TOX591mF1sB6c9HEDS7nD9o DSqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=nYbzLKFn; dkim=fail header.i=@chromium.org header.s=google header.b=no9QZdhe; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si2195651pge.307.2018.02.12.08.58.10; Mon, 12 Feb 2018 08:58:25 -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=@google.com header.s=20161025 header.b=nYbzLKFn; dkim=fail header.i=@chromium.org header.s=google header.b=no9QZdhe; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751781AbeBLQ4o (ORCPT + 99 others); Mon, 12 Feb 2018 11:56:44 -0500 Received: from mail-ua0-f194.google.com ([209.85.217.194]:45442 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055AbeBLQ4f (ORCPT ); Mon, 12 Feb 2018 11:56:35 -0500 Received: by mail-ua0-f194.google.com with SMTP id z3so9820404uae.12 for ; Mon, 12 Feb 2018 08:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hKrluWKUqkvCYAIV93zhDQGOMZ54oQpyH5SjQvvwzLs=; b=nYbzLKFnKW/PPsh0ByBVffGRDiHJrwGQX7cILUVXW2FtV6RrGVt3CG9nppNfSjJSlZ iQM2+WBVzwcZr4jC6fPA1/3vGIxJV/Fo0btkSrWj/EhiinBM+9YCYGayLIeuS0bk4bVV ZclQcrXiGvF+wdHk03E/YJI5nSRBR4ThXP96Fzwbwpjs/JSQv+ue5vNuOzu2f4OiJcpZ hx3NjgfyimO23oUE7m/erKsVGWfzLo0J0k/qksA5GiT7PP0jjujjtr5uZUy3TRFgRNwb 01eG80/sjfOlnLPUNYyieWMgo/ytWh40WEuXeDqV9af3uJWPmNIOxi9oVyNn0oIlvctC IuTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hKrluWKUqkvCYAIV93zhDQGOMZ54oQpyH5SjQvvwzLs=; b=no9QZdheWJ8FjQ/cwqgS4vg9CbcuQ3cI26bLEFRMu7Bsu2i2C+HNR0RjxjdUsHG4pA 055mFBUKepGmGMVrQGzmXjln7M+beO5Gi7X8v6sq0KeOWnrePmvmLZnpB72NPjrHeJvk QZBYA6JqLFsxNY13imH6dLGB+217lIUIDobzA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hKrluWKUqkvCYAIV93zhDQGOMZ54oQpyH5SjQvvwzLs=; b=LOQu95ZJvIv1S+Rpx/sY8/PIQvQOCSpSsBqMBE8e2B71kIYo4NI9y/rcsGwPiMOAMd E05OeTH7RrCqZS4Ki4UBCV5GU/ayG21dWZ4HzADQJ6JdoAjF6+bxjYE+CC8qpW+hOAFE wWgZ+JxBUm+XHa7SXzPzGD/RrwcQrfrGBxuzbZ4Efx1R1sNHd9h8eqqNBtzYFMSaDKOU S9qdmQd1dISBKOo3y2FLjzCs5sYTfEvOxgIkgfv8BpieeTFMNkkjX+u+JD4/g0WFScvo HyUzYeaISp/CZi1lCF7GbSWNTPewVfqOtQqyA9jNAn0JKibWHlUSs2TGds63SaRJV1tX o9tg== X-Gm-Message-State: APf1xPAqjI3pqqMzn5w/str9nHQfmLSskHpDdZRmG4tWVl0g20FJK+Mc nFOppJEBzqRhS5vl5k5lQrjp0bN2lNpiP4fenk/ODw== X-Received: by 10.176.112.181 with SMTP id q21mr11782399ual.105.1518454594176; Mon, 12 Feb 2018 08:56:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.67.196 with HTTP; Mon, 12 Feb 2018 08:56:31 -0800 (PST) In-Reply-To: <1518452362.6606.102.camel@infradead.org> References: <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> <20180211103432.pf2ot6nd7nbhdhsy@huvuddator> <20180212082635.GA25314@hirez.programming.kicks-ass.net> <1518452362.6606.102.camel@infradead.org> From: Kees Cook Date: Mon, 12 Feb 2018 08:56:31 -0800 X-Google-Sender-Auth: L6bHgaIW5AaX6nwoDi0QSgMv3jI Message-ID: Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: David Woodhouse Cc: Peter Zijlstra , Linus Torvalds , Ulf Magnusson , Masahiro Yamada , Linux Kbuild mailing list , Greg Kroah-Hartman , Andrew Morton , Nicolas Pitre , "Luis R . Rodriguez" , Randy Dunlap , 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 , Thomas Gleixner 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 On Mon, Feb 12, 2018 at 8:19 AM, David Woodhouse wrote: > On Mon, 2018-02-12 at 09:26 +0100, Peter Zijlstra wrote: >> On Sun, Feb 11, 2018 at 10:13:44AM -0800, Linus Torvalds wrote: >> >> > That actually sounds like we could just >> > >> > (a) make gcc 4.5 be the minimum required version >> > >> > (b) actually error out if we find a bad compiler >> >> So the unofficial plan was to enforce asm-goto and -fentry support by >> hard failure to build, which would get us at gcc-4.6 and then remove all >> the fallback cruft needed for those features -- for x86. If we want to >> do this tree wide, that's obviously OK with me too ;-) > > This would also kill clang support, right? That would be bad: Android exclusively builds with clang. -Kees -- Kees Cook Pixel Security