Received: by 10.223.185.116 with SMTP id b49csp512368wrg; Sat, 10 Feb 2018 12:09:45 -0800 (PST) X-Google-Smtp-Source: AH8x22546nCHKU2vM+1FTPl0ZMzxI2xCX24f8H0Gu2n9XGn8OlyeUxUL4b6ieEPp3IYqyZ1a64BR X-Received: by 2002:a17:902:6ac4:: with SMTP id i4-v6mr6440011plt.304.1518293385831; Sat, 10 Feb 2018 12:09:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518293385; cv=none; d=google.com; s=arc-20160816; b=mtz31Dp0cjNWjESQ+FUDBV+M+pVxGLX9AzmBFjJgVYg4ohPX42PEGsyhla+vlTWUVc c9gHmog9sdCJDYacUkuEWrg6hqAN5DEDpAzQIfrFJDyGMsO0eig198Z17B0vX+4z6Vma nhfc6bQoNCY4UeUHXcB1KNapPlGKCv3IwkkPa585GjrdU+BklXh8ySv9tqSQ6CBVnjQy kENrq5WSdX7UULMJdkX5LXXaqObXzygWWtHv0ReTkANpGBLRZnmbFjz0N+i4RwwQDcjc kUp6cztaYWi38qefldvfpqPxKb3UuYYAAbnFcTGG+XJEU/2wNNwQyTk7lRmSTPu9Z24A /gug== 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 :arc-authentication-results; bh=YpJBaE4XCpEcxG4IqIArvaFC2coN6x57v9taZZvm7bI=; b=uXNN7fGBWxfaORNz2wQgWzsP12jNeLHCMHEpw1Yfls08kXKcrks/dfpp5FgHZCGVT8 JXbKHg8GC/lFK3/onw35oM8K4tPR9ify73wi5Iv317nMWhUTaPn6AFOReKfXWmpexpDe ZQXV63dsMgjCIj5mgpUAutTf/SwjVEA1YkQSDF89GeCLnAbsDASjbxNc454aB3viNbFX eCF7xcxa60cQSy1eYlgNwNY4EUtv5N2kXO3DYmzMlLFP4h7jLTKY4Ek6lbgRhfYcawXu 7pe0rlU/KCePZqc0uxfEW6/FAaRnyUdMVS+zbYUAYcndu6ki1yeTFUu/KBn3ZCE5XGQQ GIxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qW1n55zv; 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 u23-v6si3527124plk.516.2018.02.10.12.09.19; Sat, 10 Feb 2018 12:09:45 -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=@gmail.com header.s=20161025 header.b=qW1n55zv; 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 S1752192AbeBJUIP (ORCPT + 99 others); Sat, 10 Feb 2018 15:08:15 -0500 Received: from mail-it0-f65.google.com ([209.85.214.65]:55195 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbeBJUIN (ORCPT ); Sat, 10 Feb 2018 15:08:13 -0500 Received: by mail-it0-f65.google.com with SMTP id k131so2464766ith.4; Sat, 10 Feb 2018 12:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=YpJBaE4XCpEcxG4IqIArvaFC2coN6x57v9taZZvm7bI=; b=qW1n55zvjzb318D3GxWIFZZqf4vHzoCs2FulAD2W1lWGvmGMVExe0ArU3hd/Ib8u/2 ekQ7yVzkP7eyyRqhJMbxnk3jCzXhm14bqMLIUUL+v3NhTbTdyr82xo9rkiAtDhL1cPV+ 8KcWCF+z6kAFpB94icSGBdFP5K8maEiLCuzAWrx1ggJpASsxsyIPpvMrG4gi6m9NJIQj yYXQlZoGtiDb0KfjRo+TQyonmdGULtPr/zlkeUh37Whuf+quMmUXQWzyka3G8T4qmRte wgeYsAB40cf7ioA3vnk6M/By9G2yLPihGOQPAQnuwcl0llWWzy+lmF1WAVwx8H2lXftm 1tGg== 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=YpJBaE4XCpEcxG4IqIArvaFC2coN6x57v9taZZvm7bI=; b=hfrF8doF4xi3g5p5kyPi3S+J7z/W3GrHnsI7TfeuzeHknH6Ex8SDywd66YdDqMm072 w32/VZtRNgIUV87ivS50hqoYob+MDH50zKjjYCmS8Q/c8u8+OUs+1LTQHHPk0worE07Y zeXiLkDNnspLWGuIjoUjAlRfEt5w9lsuCgRX8X7xynBSPXTJToIAGTyxOhScm1t9ITRn 7CLgMHDoBFSPx2Z8y0B86mFNLRMk6TjVLDaCoZP4+DMr9XMFja5LI/ZOHWjFvtpAdLrN GUJ5b6XFDlSJKaro/yiDnPV+SJAmCK967gJqdSBq6FaaOCoy1E7fjE9k4UFdwzTFcJf3 DPCA== X-Gm-Message-State: APf1xPCKcrJSE57RA0PN41DyU0wUvP5iusxH8awTjHeRiRJCKOlW6XJd ep6sEbqdfnDiwY/RFaX80bIxs1dQr0n2iMgM8JI= X-Received: by 10.36.66.136 with SMTP id i130mr8219191itb.123.1518293292933; Sat, 10 Feb 2018 12:08:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.59.196 with HTTP; Sat, 10 Feb 2018 12:08:12 -0800 (PST) In-Reply-To: References: <1518106752-29228-1-git-send-email-yamada.masahiro@socionext.com> <1518106752-29228-5-git-send-email-yamada.masahiro@socionext.com> <20180209053038.pscoijvowmyudyzf@huvuddator> <20180209124607.akjhncb5sempjqcn@huvuddator> <20180210054843.z3g7wvcmlccvww3h@huvuddator> <20180210074924.3nhxsza5zdbaahxx@huvuddator> <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> From: Linus Torvalds Date: Sat, 10 Feb 2018 12:08:12 -0800 X-Google-Sender-Auth: QYm0GOsb1wrUNAhwVD2-oTFmqUg Message-ID: Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: Kees Cook Cc: 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 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 Sat, Feb 10, 2018 at 11:23 AM, Kees Cook wrote: > > So, if this could do something like this: > > config CC_HAS_STACKPROTECTOR_STRONG > bool > option > shell="scripts/gcc-${ARCH}_${BITS}-has-stack-protector.sh $CC > $KBUILD_CPPFLAGS" Guys, this is not that important. Don't make some stupid script for stackprotector. If the user doesn't have a gcc that supports -fstackprotector-*, then don't show the options. It matters NOT ONE WHIT whether that then means that stackprotector will be off by default later. Seriously. This is classic "Kees thinks that _his_ code is so important that everybody should get the value _he_ cares about". That's bullshit. Kees, get over yourself. It's a very common thing to see, but it's WRONG. The fact that _you_ care about this doesn't mean that everybody else should too. The whole point was to simplify Kconfig, not to make it even worse. Linus