From patchwork Thu Jun 14 10:36:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 138538 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1934997lji; Thu, 14 Jun 2018 03:37:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJQAUCE8N3Mt9uzMPzxDphx6VGcQ1J0tQe7G1rz37H6DqCkHIh4ZmT/immj7k3DDOB5oL7d X-Received: by 2002:a17:902:988c:: with SMTP id s12-v6mr2380009plp.304.1528972656613; Thu, 14 Jun 2018 03:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528972656; cv=none; d=google.com; s=arc-20160816; b=gywM2LR0TU3+KECXMkBNN9ggl7SffqysXwJS8l1dTksBU+2+THtZEYqw2+V1QH3Vuk 6msjHb3oKCanpulNt8QGB/2tnQgq5X+l1xVcR9QroKq6Ey4Pkv6fkSzXAiqKariYkp8M +UP3biBSkq8dtrrnIEhzi65p4Rx6w9jXO4ph+3x1Mch3jRIWUy6AnUhjDm+brpBDhvYQ p40pwXRo5C7pBIjhcqQm6gRjvfV1972Q3vbH9cpI4YwNmtumzRLpfX4p3GBJiThmrT7/ plKQQmSxn4Y1+2Of5e/B8Qq0qMK/RgsJ7G15X/ik/0Uu6y19LhB8M6EqEuW3GKv6e5Ow 74kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=goAfbsPn8A6cA25Q2KrraItR1mxigSL66ldGLXQ9+HI=; b=aDcEMA1lEqIbiNcYtM/iRqa1oLNjffEzfFv2OBxdUxn+a37/e2w/tIz3NGrSHZ0Z2c oJhLsm3IP4DPIfB7TLhS937ynguTfgVDZvZdOqBjkHLsXp+CIeRCZ6voNgC7dVjsPOm4 xpD9dM6alqx7BlB2Dkhc3QsmRaUQT9lyjU+c/OlKeQUVzqtvMLXhLHwpayrPp3krmtCy HtA3HRm8QOR34kdWUpNbJnCr+ju1LLxVMO9kP4ToReNodeJh6S91rn/K1kHQdan6ofwa noVR9vPJJW1rmoG5GxPYVPD0RNFHDLNWR0B7gRhLlsP5oPuolmzFLnmmpxSKp51yXzdG 4XEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NtCaVCao; 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 t1-v6si4741862plo.241.2018.06.14.03.37.36; Thu, 14 Jun 2018 03:37:36 -0700 (PDT) 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=NtCaVCao; 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 S1755095AbeFNKhe (ORCPT + 30 others); Thu, 14 Jun 2018 06:37:34 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:43052 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754870AbeFNKha (ORCPT ); Thu, 14 Jun 2018 06:37:30 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w5EAaqEg008870; Thu, 14 Jun 2018 19:36:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w5EAaqEg008870 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1528972614; bh=goAfbsPn8A6cA25Q2KrraItR1mxigSL66ldGLXQ9+HI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NtCaVCaocq7rOiSf2J9Xm6NgfVGTQocCMXp608QGGe4WvjWetLMpOYNPzCTwNdPQi 3gz2EbcbdroYST8tbRHemg10V8MPkgqBO2IToddbAf9GWltCKrpeCI+KREy8ANLSwD 9T8JyAOAN4MAXwyID/QRiVDKtpLX/qXD7mxhsTwQnx9tAjXeBFau5tzjHK5vDJvLsa /mtwav34TFptcH3+FMaWQbFjFDbrHYTgW4T5GFI+cFwzYzyPflvQZL1o9SoIc96biQ L/iqMQmQm51JgdNbIQUKqMVS70WeUT3GcSriPHomkkTtpUHZ+3MS5MPPfl9nd65DFG ETt6pmf9VVe6A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Linus Torvalds Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook , Masahiro Yamada Subject: [PATCH 2/3] kconfig: tinyconfig: remove stale stack protector fixups Date: Thu, 14 Jun 2018 19:36:44 +0900 Message-Id: <1528972605-24264-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528972605-24264-1-git-send-email-yamada.masahiro@socionext.com> References: <1528972605-24264-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Prior to commit 2a61f4747eea ("stack-protector: test compiler capability in Kconfig and drop AUTO mode"), the stack protector was configured by the choice of NONE, REGULAR, STRONG, AUTO. tiny.config needed to explicitly set NONE because the default value of choice, AUTO, did not produce the tiniest kernel. Now that there are only two boolean symbols, STACKPROTECTOR and STACKPROTECTOR_STRONG, they are naturally disabled by "make allnoconfig", which "make tinyconfig" is based on. Remove unnecessary lines from the tiny.config fragment file. Signed-off-by: Masahiro Yamada --- kernel/configs/tiny.config | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 diff --git a/kernel/configs/tiny.config b/kernel/configs/tiny.config index 9bfdffc..7fa0c4a 100644 --- a/kernel/configs/tiny.config +++ b/kernel/configs/tiny.config @@ -10,7 +10,3 @@ CONFIG_OPTIMIZE_INLINING=y # CONFIG_SLAB is not set # CONFIG_SLUB is not set CONFIG_SLOB=y -CONFIG_CC_STACKPROTECTOR_NONE=y -# CONFIG_CC_STACKPROTECTOR_REGULAR is not set -# CONFIG_CC_STACKPROTECTOR_STRONG is not set -# CONFIG_CC_STACKPROTECTOR_AUTO is not set